nes_compile {nesRdata}R Documentation

Compile data to R data (rds) object

Description

Compile data from component flat files

Usage

nes_compile(version_id, format = "rds", folder = tempdir(), skip = NA)

Arguments

version_id

character nes version string

format

character choice of "rds" or "sqlite"

folder

file.path to data folder; set to cache_path() to have data persist between sessions.

skip

numeric vector of lines to skip on file read. optional.

Examples

## Not run: 
nes_get("1")
nes_compile("1", format = "rds")

nes_get("1", dest_folder = cache_path(), compile = FALSE)
nes_compile("1", folder = cache_path())

## End(Not run)

[Package nesRdata version 0.3.1 Index]