get_cansim_table_template: Retrieve table template from Statistics Canada API

get_cansim_table_templateR 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)

cansim documentation built on June 8, 2025, 1:12 p.m.