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
- Host: GitHub
- URL: https://github.com/brownag/rjackcess
- Owner: brownag
- License: other
- Created: 2022-03-23T07:02:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T23:07:03.000Z (8 months ago)
- Last Synced: 2025-03-17T17:04:16.874Z (3 months ago)
- Language: R
- Homepage: http://humus.rocks/rjackcess/
- Size: 3.47 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE.md
Awesome Lists containing this project
README
# rjackcess
[](http://humus.rocks/rjackcess/)
[](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)
```