This is a convenience function that downloads and accesses pumf data for a curated set of pumf datasets.
get_pumf(
pumf_series,
pumf_version = NULL,
layout_mask = NULL,
file_mask = layout_mask,
pumf_cache_path = getOption("canpumf.cache_path"),
refresh_layout = FALSE,
timeout = 3000
)
sereis for the pumf data, like LSF, or CHS
In case there are several versions of a given series, like for LFS, the version
optional layout mask in case there are several files. identifiers. For LFS this is the month/year.
optional additional mask to filter down to specific PUMF file if there are several
A path to a permanent cache. If none is fould the data is stored in the temporary directory for the duration of the session.
(optional) regenerate the layout and metadata
Optional parameter to specify connection timeout for download
A tibble with the pumf data.