Download Redbluff data from cbr.washington.edu.

get_redbluff_data(
  report_year,
  start_year = 2004,
  parse_fun,
  ...,
  verbose = TRUE
)

Arguments

report_year

The report year.

start_year

The initial year to retrieve data for. Default is 2004.

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, each element corresponds to a year the sequence start_year:report_year. The list also includes an attribute "Notes" of same length and order containing the notes section extracted each report file.

Examples

if (FALSE) { get_redbluff_data(2018, 2016, na = "--") }