R/cansim.R
get_cansim_table_url.Rd
Retrieve URL of a table from the API given a table number. Offers a more stable approach than manually guessing the URL of the table.
get_cansim_table_url(cansimTableNumber, language = "en")
the NDM table number to load
"en"
or "english"
for English and "fr"
or "french"
for French language versions (defaults to English)
String object containing URL for specified table number
if (FALSE) {
get_cansim_table_url("34-10-0013")
get_cansim_table_url("34-10-0013", language = "fr")
}