R/cansim_metadata.R
get_cansim_cube_metadata.Rd
Retrieves table metadata given an input table number or vector of table numbers using either the new or old table number format. Patience is suggested as the Statistics Canada API can be very slow. The `list_cansim_tables()` function can be used as an alternative to retrieve a (cached) list of CANSIM tables with (more limited) metadata.
get_cansim_cube_metadata(cansimTableNumber, type = "overview", refresh = FALSE)
A new or old CANSIM/NDM table number or a vector of table numbers
Which type of metadata to get, options are "overview", "members", "notes", or "corrections".
Refresh the data from the Statistics Canada API
a tibble containing the table metadata
if (FALSE) {
get_cansim_cube_metadata("34-10-0013")
}