get_edi_data: Download EDI Package Files

Description Usage Arguments Value Examples

View source: R/download_tools.R

Description

Download the latest revision of files in an EDI package

Usage

1
get_edi_data(pkg_id, fnames, parse_fun, ..., verbose = TRUE)

Arguments

pkg_id

The package identifier.

fnames

A vector of file names in the package to download. Supports regex.

parse_fun

A function to parse datasets. Default assumes that all files in fnames can be parsed using readr::read_csv().

...

Additional arguments to pass to parse_fun.

verbose

If TRUE, display descriptive messages.

Value

A named list of dataframes.

Examples

1
2
3
4
## Not run: 
get_edi_data(233, "YBFMP_Fish", guess_max = 1000000)

## End(Not run)

InteragencyEcologicalProgram/smonitr documentation built on Nov. 9, 2020, 7:01 a.m.