Download source data files from CKAN to the local data directory
Source:R/download_source_data.R
download_source_data.Rd
This method can be configured to point to the data file through environment variables. It will work with defaults unless the location of the data file changes.
Usage
download_source_data(
ckan_url = Sys.getenv("CKAN_URL", unset = "https://data.dbca.wa.gov.au"),
data_dir = here::here("inst/data")
)