| get_cansim_table_info | R Documentation |
Returns table information given an NDM table catalogue number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_info(
cansimTableNumber,
language = "english",
refresh = FALSE,
timeout = 200
)
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Number of seconds StatCan is allowed to go without sending data before the download is abandoned, to work around scenarios where StatCan servers drop the network connection. This does not limit how long a download may take overall, a transfer that keeps delivering data is left alone. StatCan prepares a whole response before sending any of it, which for large requests can take the better part of a minute, so values much below the default of 200 risk cutting off legitimate requests. |
A tibble with the table overview information
Returns NULL if the data could not be retrieved because StatCan is unavailable.
get_cansim_table_info("34-10-0013")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.