Download data from Bay Delta Live.

get_baydeltalive_data(
  asset_id,
  path_suffix,
  fnames,
  parse_fun,
  ...,
  verbose = TRUE
)

Arguments

asset_id

The asset identifier.

path_suffix

Path suffix(es), specifying subfolders of the asset to search

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

if (FALSE) { get_baydeltalive_data("00c870b6fdc0e30d0f92d719984cfb44", "application/vnd.ms-excel", "Field_Data_[0-9]{4}-[0-9]{4}x*", parse_remote_excel, guess_max = 100000L) }