Skip to contents

Phase 3DDD3. Wraps the getFullTableDownloadCSV/<productId>/en GET endpoint. Returns the temporary download URL for the cube's bulk CSV ZIP. Caller is responsible for downloading the ZIP (typically large – often hundreds of MB).

Usage

morie_datasets_statcan_full_csv_url(product_id, language = c("en", "fr"))

Arguments

product_id

Integer cube ID.

language

One of "en" or "fr".

Value

Character URL string.

Examples

# \donttest{
url <- try(morie_datasets_statcan_full_csv_url(35100177))
# if (!inherits(url, "try-error")) download.file(url, "ccjs_177.zip")
# }