download_historic_data: Download and store the large historic ems dataset

View source: R/ems_duckdb.R

download_historic_dataR Documentation

Download and store the large historic ems dataset

Description

Download and store the large historic ems dataset

Usage

download_historic_data(
  force = FALSE,
  ask = TRUE,
  dont_update = FALSE,
  httr_config = list()
)

Arguments

force

Force downloading the dataset, even if it's not out of date (default FALSE)

ask

should the function ask for your permission to cache data on your computer? Default TRUE

dont_update

should the function avoid updating the data even if there is a newer version available? Default FALSE

httr_config

configuration settings passed on to httr::GET(), such as httr::timeout()

Value

The path where the duckdb database is stored (invisibly).


bcgov/rems documentation built on Oct. 14, 2023, 3:04 a.m.