nesRdata (version 0.3.1)

nes_load: nes_load

Description

Load files from local file system

Usage

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

Run this code
# 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")
# }

Run the code above in your browser using DataCamp Workspace