get_cansim_table_template {cansim} | R Documentation |
Retrieve table template from Statistics Canada API
Description
A table template consists of the dimensions and members and coordinates of a table that can be used to explore and filter table data before downloading subsets of the table. To add vector Ids to (a possibly filtered) template the 'add_cansim_vectors_to_template' function can be used.
Usage
get_cansim_table_template(cansimTableNumber, language = "eng", refresh = FALSE)
Arguments
cansimTableNumber |
A new or old CANSIM/NDM table number or a vector of table numbers |
language |
Language for the dimension and member names, either "eng" or "fra" |
refresh |
Refresh the data from the Statistics Canada API |
Value
a tibble containing the table template
Examples
## Not run:
get_cansim_table_template("34-10-0013")
## End(Not run)
[Package cansim version 0.4.3 Index]