Download the application data file mpa_data.rds from CKAN
Source:R/download_data.R
download_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_data(
ckan_url = Sys.getenv("CKAN_URL", unset = "https://data.dbca.wa.gov.au"),
data_rid = Sys.getenv("MPAVIEWER_RID", unset = "29183116-2409-4213-90c7-69f00888f280"),
data_dir = here::here("inst/data")
)