R/cansim.R
get_cansim_column_categories.Rd
Returns table column details given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_column_categories(
cansimTableNumber,
column,
language = "english",
refresh = FALSE,
timeout = 200
)
the NDM table number to load
the specified column for which to retrieve category information for
"en"
or "english"
for English and "fr"
or "french"
for French language versions (default set to English)
(Optional) When set to TRUE
, forces a reload of data table (default is FALSE
)
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection.
A tibble with detailed information on StatCan table categories for the specified field
if (FALSE) {
get_cansim_column_categories("34-10-0013", "Geography")
}