get_grandtab_data: Download GrandTab Data

Description Usage Arguments Value Examples

View source: R/download_tools.R

Description

Download CDFW GrandTab data from SacPass.

Usage

1
2
3
4
5
6
get_grandtab_data(
  season = c("Winter", "Spring", "Fall", "Late-Fall"),
  parse_fun,
  ...,
  verbose = TRUE
)

Arguments

season

The season(s) to download data for.

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 list of dataframes, one element for each specified season. The list also includes an attribute "Notes" of same length and order containing the notes section extracted each report file.

Examples

1
2
3
4
## Not run: 
get_grandtab_data(c("Spring", "Fall"))

## End(Not run)

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