nes_load: nes_load

Description Usage Arguments Examples

View source: R/load.R

Description

Load files from local file system

Usage

1
nes_load(version_id, folder = tempdir(), format = "rds", fpath = NA)

Arguments

version_id

character database version string

folder

file.path to data folder; use cache_path() to load cached (non-temporary) data

format

character choice of rds or sqlite

fpath

file.path optionally specify custom location of rds file

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

# load from tempdir
nes_get("5")
dt  <- nes_load("5")

# load from cached
nes_get("5", dest_folder = cache_path())
dt  <- nes_load("5")

## End(Not run)

nesRdata documentation built on May 1, 2020, 1:07 a.m.