get_cansim_cube_metadata {cansim}R Documentation

Retrieve table metadata from Statistics Canada API

Description

Retrieves table metadata given an input table number or vector of table numbers using either the new or old table number format. Patience is suggested as the Statistics Canada API can be very slow. The 'list_cansim_tables()' function can be used as an alternative to retrieve a (cached) list of CANSIM tables with (more limited) metadata.

Usage

get_cansim_cube_metadata(cansimTableNumber)

Arguments

cansimTableNumber

A new or old CANSIM/NDM table number or a vector of table numbers

Value

a tibble containing the table metadata

Examples

## Not run: 
get_cansim_cube_metadata("34-10-0013")

## End(Not run)

[Package cansim version 0.3.16 Index]