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

https://github.com/corymccartan/rsqlcipher


https://github.com/corymccartan/rsqlcipher

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# RSQLCipher

An R package for working with SQLite databases encrypted in SQLCipher. Does NOT
use the DBI backend. Is NOT a drop-in replacement for RSQLite.

## Installation Instructions
`devtools::install_github("CoryMcCartan/RSQLCipher")`

## Example Usage
RSQLCipher provides the `load_table` and `execute` functions.
```R
library(RSQLCipher)
library(tidyverse)

# load the database table
# will be prompted for authentication key the first time
d = load_table("database.db", "customers")

summarized = d %>%
group_by(city) %>%
summarize(count=n()) %>%
execute
```