Learn R Programming

cansim (version 0.4.2)

get_cansim_table_template: 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)

Value

a tibble containing the table template

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

Examples

Run this code
if (FALSE) {
get_cansim_table_template("34-10-0013")
}

Run the code above in your browser using DataLab