An open API service indexing awesome lists of open source software.

https://github.com/brownag/rjackcess

R Interface to Jackcess, a Java library for reading from and writing to MS Access databases
https://github.com/brownag/rjackcess

Last synced: 2 months ago
JSON representation

R Interface to Jackcess, a Java library for reading from and writing to MS Access databases

Awesome Lists containing this project

README

        

# rjackcess

[![rjackcess Manual](https://img.shields.io/badge/docs-HTML-informational)](http://humus.rocks/rjackcess/)
[![R-CMD-check](https://github.com/brownag/rjackcess/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/brownag/rjackcess/actions/workflows/R-CMD-check.yml)

rjackcess uses {rJava} to provide a basic interface to the Jackcess Java API for MS Access databases.

More information on the API is available in the Javadocs ().

## Installation

You can install the development version of rjackcess like so:

``` r
# install.packages("remotes")
remotes::install_github("brownag/rjackcess")
```

## Example

This is a basic example showing how to create a Database instance from file, call methods associated with that object instance, export data to flat files, and import data back into the MS Access database.

``` r
library(rjackcess)

db <- Database("~/pedon/pedon.accdb")

db$getTableNames()

db$getTable('area')

exportAll(db, "~/pedon/output/")
importFile("~/pedon/output/pedon.csv", db, "pedon", useExistingTable = TRUE)
```