Title: | Accessing Statistics Canada Data Table and Vectors |
---|---|
Description: | Searches for, accesses, and retrieves new-format and old-format Statistics Canada data tables, as well as individual vectors, as tidy data frames. This package deals with encoding issues, allows for bilingual English or French language data retrieval, and bundles convenience functions to make it easier to work with retrieved table data. Optional caching features are provided. |
Authors: | Jens von Bergmann [cre], Dmitry Shkolnik [aut] |
Maintainer: | Jens von Bergmann <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.3.17 |
Built: | 2024-11-06 16:19:26 UTC |
Source: | https://github.com/mountainmath/cansim |
Add provincial abbreviations as factor
add_provincial_abbreviations(data)
add_provincial_abbreviations(data)
data |
A tibble as returned by |
The input tibble with additional factor GEO.abb that contains language-specific provincial abbreviations
## Not run: df <- get_cansim("17-10-0005") df <- add_provincial_abbreviations(df) ## End(Not run)
## Not run: df <- get_cansim("17-10-0005") df <- add_provincial_abbreviations(df) ## End(Not run)
Returns NDM table catalogue equivalent given a standard old-format CANSIM table number
cansim_old_to_new(oldCansimTableNumber)
cansim_old_to_new(oldCansimTableNumber)
oldCansimTableNumber |
deprecated style CANSIM table number (e.g. "427-0001") |
A character string with the new-format NDM table number
## Not run: cansim_old_to_new("026-0018") ## End(Not run)
## Not run: cansim_old_to_new("026-0018") ## End(Not run)
For tables with data with hierarchical categories, metadata containing hierarchy level descriptions is used to extract categories at a specified level of hierarchy only.
categories_for_level( data, column_name, level = NA, strict = FALSE, remove_duplicates = TRUE )
categories_for_level( data, column_name, level = NA, strict = FALSE, remove_duplicates = TRUE )
data |
data table object as returned from |
column_name |
the quoted name of the column to extract categories from |
level |
the hierarchy level depth to which to extract categories, where 0 is top category |
strict |
(default |
remove_duplicates |
(default |
A vector of categories
## Not run: data <- get_cansim("16-10-0117") categories_for_level(data,"North American Industry Classification System (NAICS)",level=2) ## End(Not run)
## Not run: data <- get_cansim("16-10-0117") categories_for_level(data,"North American Industry Classification System (NAICS)",level=2) ## End(Not run)
Collect data from connection and normalize cansim table output
collect_and_normalize( connection, replacement_value = "val_norm", normalize_percent = TRUE, default_month = "07", default_day = "01", factors = FALSE, strip_classification_code = FALSE, disconnect = FALSE )
collect_and_normalize( connection, replacement_value = "val_norm", normalize_percent = TRUE, default_month = "07", default_day = "01", factors = FALSE, strip_classification_code = FALSE, disconnect = FALSE )
connection |
A connection to a local StatCan table SQLite database as returned by |
replacement_value |
(Optional) the name of the column the manipulated value should be returned in. Defaults to adding the 'val_norm' value field. |
normalize_percent |
(Optional) When |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "07") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01") |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
strip_classification_code |
(Optional) Logical value indicating if classification code should be stripped from names. (Default set to |
disconnect |
(Optional) Logical value to indicate if the database connection should be disconnected. (Default is |
A tibble with the collected and normalized data
## Not run: library(dplyr) con <- get_cansim_sqlite("34-10-0013") data <- con %>% filter(GEO=="Ontario") %>% collect_and_normalize() disconnect_cansim_sqlite(con) ## End(Not run)
## Not run: library(dplyr) con <- get_cansim_sqlite("34-10-0013") data <- con %>% filter(GEO=="Ontario") %>% collect_and_normalize() disconnect_cansim_sqlite(con) ## End(Not run)
Disconnect from a cansim database connection
disconnect_cansim_sqlite(connection)
disconnect_cansim_sqlite(connection)
connection |
connection to database |
'NULL“
## Not run: con <- get_cansim_sqlite("34-10-0013") disconnect_cansim_sqlite(con) ## End(Not run)
## Not run: con <- get_cansim_sqlite("34-10-0013") disconnect_cansim_sqlite(con) ## End(Not run)
Retrieves a data table using an NDM catalogue number as a tidy data frame. Retrieved table data is cached for the duration of the current R session only by default.
get_cansim( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
get_cansim( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "07") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01")
Set to higher values for large tables and slow network connection. (Default is |
A tibble with StatCan Table data and added Date
column with inferred date objects and
added val_norm
column with normalized value from the VALUE
column.
## Not run: get_cansim("34-10-0013") ## End(Not run)
## Not run: get_cansim("34-10-0013") ## End(Not run)
Retrieve a list of tables that have been modified or updated since the specified date.
get_cansim_changed_tables(start_date, end_date = NULL)
get_cansim_changed_tables(start_date, end_date = NULL)
start_date |
Starting date in |
end_date |
Optional end date in |
A tibble with Statistics Canada data table product ids and their release times
## Not run: get_cansim_changed_tables("2018-08-01") ## End(Not run)
## Not run: get_cansim_changed_tables("2018-08-01") ## End(Not run)
Useful to get a list of surveys or subjects and used internally
get_cansim_code_set( code_set = c("scalar", "frequency", "symbol", "status", "uom", "survey", "subject", "wdsResponseStatus"), refresh = FALSE )
get_cansim_code_set( code_set = c("scalar", "frequency", "symbol", "status", "uom", "survey", "subject", "wdsResponseStatus"), refresh = FALSE )
code_set |
the code set to retrieve. |
refresh |
Default is |
A tibble with english and french labels for the given code set
## Not run: get_cansim_code_set("survey") ## End(Not run)
## Not run: get_cansim_code_set("survey") ## End(Not run)
Returns table column details given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_column_categories( cansimTableNumber, column, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_column_categories( cansimTableNumber, column, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
column |
the specified column for which to retrieve category information for |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with detailed information on StatCan table categories for the specified field
## Not run: get_cansim_column_categories("34-10-0013", "Geography") ## End(Not run)
## Not run: get_cansim_column_categories("34-10-0013", "Geography") ## End(Not run)
Returns table column details given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_column_list( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_column_list( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble listing the column names of the StatCan table.
## Not run: get_cansim_column_list("34-10-0013") ## End(Not run)
## Not run: get_cansim_column_list("34-10-0013") ## End(Not run)
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.
get_cansim_cube_metadata(cansimTableNumber, type = "overview", refresh = FALSE)
get_cansim_cube_metadata(cansimTableNumber, type = "overview", refresh = FALSE)
cansimTableNumber |
A new or old CANSIM/NDM table number or a vector of table numbers |
type |
Which type of metadata to get, options are "overview", "members", "notes", or "corrections". |
refresh |
Refresh the data from the Statistics Canada API |
a tibble containing the table metadata
## Not run: get_cansim_cube_metadata("34-10-0013") ## End(Not run)
## Not run: get_cansim_cube_metadata("34-10-0013") ## End(Not run)
Allows for the retrieval of data for a Statistics Canada data table with specific coordinates for the N most-recently released periods. Caution: coordinates are concatenations of table member ID values and require familiarity with the TableMetadata data structure. Coordinates have a maximum of ten dimensions.
get_cansim_data_for_table_coord_periods( cansimTableNumber, coordinate, periods = 1, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
get_cansim_data_for_table_coord_periods( cansimTableNumber, coordinate, periods = 1, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
cansimTableNumber |
Statistics Canada data table number |
coordinate |
A string of table coordinates in the form |
periods |
Numeric value for number of latest periods to retrieve data for |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "07") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01") |
A tibble with data matching specified coordinate and period input arguments
## Not run: get_cansim_data_for_table_coord_periods("35-10-0003",coordinate="1.12.0.0.0.0.0.0.0.0",periods=3) ## End(Not run)
## Not run: get_cansim_data_for_table_coord_periods("35-10-0003",coordinate="1.12.0.0.0.0.0.0.0.0",periods=3) ## End(Not run)
Returns every release date of major economic indicators since March 14, 2012. This also includes scheduled future releases.
get_cansim_key_release_schedule()
get_cansim_key_release_schedule()
a tibble with data, and details for major economic indicator release
## Not run: get_cansim_key_release_schedule() ## End(Not run)
## Not run: get_cansim_key_release_schedule() ## End(Not run)
Retrieves a data table using an NDM catalogue number as an SQLite table. Retrieved table data is cached permanently if a cache path is supplied or for duration of the current R session. The function will check against the lastest release data for the table and emit a warning message if the cached table is out of date.
get_cansim_sqlite( cansimTableNumber, language = "english", refresh = FALSE, auto_refresh = FALSE, timeout = 1000, cache_path = getOption("cansim.cache_path") )
get_cansim_sqlite( cansimTableNumber, language = "english", refresh = FALSE, auto_refresh = FALSE, timeout = 1000, cache_path = getOption("cansim.cache_path") )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
auto_refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
cache_path |
(Optional) Path to where to cache the table permanently. By default, the data is cached in the path specified by 'getOption("cansim.cache_path")', if this is set. Otherwise it will use 'tempdir()'. |
A database connection to a local SQLite database with the StatCan Table data.
## Not run: con <- get_cansim_sqlite("34-10-0013") # Work with the data connection head(con) disconnect_cansim_sqlite(con) ## End(Not run)
## Not run: con <- get_cansim_sqlite("34-10-0013") # Work with the data connection head(con) disconnect_cansim_sqlite(con) ## End(Not run)
Returns table information given an NDM table catalogue number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_info( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_table_info( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with the table overview information
## Not run: get_cansim_table_info("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_info("34-10-0013") ## End(Not run)
This can be used to check when a table has last been updated.
get_cansim_table_last_release_date(cansimTableNumber)
get_cansim_table_last_release_date(cansimTableNumber)
cansimTableNumber |
the NDM table number |
A datatime object if a release data is available, NULL otherwise.
## Not run: get_cansim_table_last_release_date("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_last_release_date("34-10-0013") ## End(Not run)
Returns table notes given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_notes( cansimTableNumber, language = "en", refresh = FALSE, timeout = 200 )
get_cansim_table_notes( cansimTableNumber, language = "en", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with table notes.
## Not run: get_cansim_table_notes("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_notes("34-10-0013") ## End(Not run)
Prints table overview information as console output. In order to display table overview information, the selected CANSIM table must be loaded entirely to display overview information. Overview information is printed in console an in English or French, as specified.
get_cansim_table_overview( cansimTableNumber, language = "english", refresh = FALSE )
get_cansim_table_overview( cansimTableNumber, language = "english", refresh = FALSE )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
none
## Not run: get_cansim_table_overview("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_overview("34-10-0013") ## End(Not run)
Returns table notes given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_short_notes( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_table_short_notes( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with the StatCan Notes for the table
## Not run: get_cansim_table_short_notes("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_short_notes("34-10-0013") ## End(Not run)
Returns table subject detail given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_subject( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_table_subject( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with the table subject code and name.
## Not run: get_cansim_table_subject("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_subject("34-10-0013") ## End(Not run)
Returns table survey detail given an NDM table number in English or French. Retrieved table information data is cached for the duration of the R session only.
get_cansim_table_survey( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
get_cansim_table_survey( cansimTableNumber, language = "english", refresh = FALSE, timeout = 200 )
cansimTableNumber |
the NDM table number to load |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
A tibble with the table survey code and name
## Not run: get_cansim_table_survey("34-10-0013") ## End(Not run)
## Not run: get_cansim_table_survey("34-10-0013") ## End(Not run)
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")
get_cansim_table_url(cansimTableNumber, language = "en")
cansimTableNumber |
the NDM table number to load |
language |
|
String object containing URL for specified table number
## Not run: get_cansim_table_url("34-10-0013") get_cansim_table_url("34-10-0013", language = "fr") ## End(Not run)
## Not run: get_cansim_table_url("34-10-0013") get_cansim_table_url("34-10-0013", language = "fr") ## End(Not run)
Retrieve data for a Statistics Canada data vector released within a given time frame
get_cansim_vector( vectors, start_time = as.Date("1800-01-01"), end_time = Sys.time(), use_ref_date = TRUE, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
get_cansim_vector( vectors, start_time = as.Date("1800-01-01"), end_time = Sys.time(), use_ref_date = TRUE, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
vectors |
The list of vectors to retrieve |
start_time |
Starting date in |
end_time |
Set an optional end time filter in |
use_ref_date |
Optional, |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "07") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01") |
A tibble with data for vectors released between start and end time
## Not run: get_cansim_vector("v41690973","2015-01-01") ## End(Not run)
## Not run: get_cansim_vector("v41690973","2015-01-01") ## End(Not run)
Allows for the retrieval of data for specified vector series for the N most-recently released periods.
get_cansim_vector_for_latest_periods( vectors, periods = 1, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
get_cansim_vector_for_latest_periods( vectors, periods = 1, language = "english", refresh = FALSE, timeout = 200, factors = TRUE, default_month = "07", default_day = "01" )
vectors |
The list of vectors to retrieve |
periods |
Numeric value for number of latest periods to retrieve data for |
language |
|
refresh |
(Optional) When set to |
timeout |
(Optional) Timeout in seconds for downloading cansim table to work around scenarios where StatCan servers drop the network connection. |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "07") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01") |
A tibble with data for specified vector(s) for the last N periods
## Not run: get_cansim_vector_for_latest_periods("v41690973",10) ## End(Not run)
## Not run: get_cansim_vector_for_latest_periods("v41690973",10) ## End(Not run)
Allows for the retrieval of metadatadata for Statistics Canada data vectors
get_cansim_vector_info(vectors)
get_cansim_vector_info(vectors)
vectors |
a vector of cansim vectors |
A tibble with metadata for selected vectors
## Not run: get_cansim_vector_info("v41690973") ## End(Not run)
## Not run: get_cansim_vector_info("v41690973") ## End(Not run)
Generates an overview table containing metadata of available Statistics Canada data cubes.
list_cansim_cubes(lite = FALSE, refresh = FALSE, quiet = FALSE)
list_cansim_cubes(lite = FALSE, refresh = FALSE, quiet = FALSE)
lite |
Get the version without cube dimensions and comments for faster retrieval, default is |
refresh |
Default is |
quiet |
Optional, suppress messages
To refresh the code list during a running R session set to |
A tibble with available Statistics Canada data cubes, including NDM table number, cube title, start and end dates, achieve status, subject and survey codes, frequency codes and a list of cube dimensions.
## Not run: list_cansim_cubes() ## End(Not run)
## Not run: list_cansim_cubes() ## End(Not run)
List cached cansim SQLite database
list_cansim_sqlite_cached_tables( cache_path = getOption("cansim.cache_path"), refresh = FALSE )
list_cansim_sqlite_cached_tables( cache_path = getOption("cansim.cache_path"), refresh = FALSE )
cache_path |
Optional, default value is 'getOption("cansim.cache_path")'. |
refresh |
Optional, refresh the last updated date of cached cansim tables |
A tibble with the list of all tables that are currently cached at the given cache path.
## Not run: list_cansim_sqlite_cached_tables() ## End(Not run)
## Not run: list_cansim_sqlite_cached_tables() ## End(Not run)
Facilitates working with Statistics Canada data table values retrieved using the package by setting all units to counts/dollars instead of millions, etc. If "replacement_value" is not set, it will replace the VALUE
field with normalized values and drop the scale
column. Otherwise it will keep the scale columns and create a new column named replacement_value with the normalized value. It will attempt to parse the REF_DATE
field and create an R date variable. This is currently experimental.
normalize_cansim_values( data, replacement_value = NA, normalize_percent = TRUE, default_month = "01", default_day = "01", factors = FALSE, strip_classification_code = FALSE, cansimTableNumber = NULL )
normalize_cansim_values( data, replacement_value = NA, normalize_percent = TRUE, default_month = "01", default_day = "01", factors = FALSE, strip_classification_code = FALSE, cansimTableNumber = NULL )
data |
A retrieved data table as returned from |
replacement_value |
(Optional) the name of the column the manipulated value should be returned in. Defaults to replacing the current value field |
normalize_percent |
(Optional) When |
default_month |
The default month that should be used when creating Date objects for annual data (default set to "01") |
default_day |
The default day of the month that should be used when creating Date objects for monthly data (default set to "01") |
factors |
(Optional) Logical value indicating if dimensions should be converted to factors. (Default set to |
strip_classification_code |
(strip_classification_code) Logical value indicating if classification code should be stripped from names. (Default set to |
cansimTableNumber |
(Optional) Only needed when operating on results of SQLite connections. |
Returns the input tibble with with adjusted values
## Not run: cansim_table <- get_cansim("34-10-0013") normalize_cansim_values(cansim_table) ## End(Not run)
## Not run: cansim_table <- get_cansim("34-10-0013") normalize_cansim_values(cansim_table) ## End(Not run)
Remove cached cansim SQLite database
remove_cansim_sqlite_cached_table( cansimTableNumber, language = NULL, cache_path = getOption("cansim.cache_path") )
remove_cansim_sqlite_cached_table( cansimTableNumber, language = NULL, cache_path = getOption("cansim.cache_path") )
cansimTableNumber |
Number of the table to be removed |
language |
Language for which to remove the cached data. If unspecified ('NULL') tables for all languages will be removed |
cache_path |
Optional, default value is 'getOption("cansim.cache_path")' |
'NULL“
## Not run: con <- get_cansim_sqlite("34-10-0013") disconnect_cansim_sqlite(con) remove_cansim_sqlite_cached_table("34-10-0013") ## End(Not run)
## Not run: con <- get_cansim_sqlite("34-10-0013") disconnect_cansim_sqlite(con) remove_cansim_sqlite_cached_table("34-10-0013") ## End(Not run)
Searches through Statistics Canada data cubes using a search term.
search_cansim_cubes(search_term, refresh = FALSE)
search_cansim_cubes(search_term, refresh = FALSE)
search_term |
User-supplied search term used to find Statistics Canada data cubes with matching titles, table numbers, subject and survey codes. |
refresh |
Default is |
A tibble with available Statistics Canada data cubes, listing title, Statistics Canada data cube catalogue number, deprecated CANSIM table number, survey and subject.
## Not run: search_cansim_cubes("Labour force") ## End(Not run)
## Not run: search_cansim_cubes("Labour force") ## End(Not run)
Opens CANSIM table or vector on Statistics Canada's website using default browser. This may be useful for getting further info on CANSIM table and survey methods.
view_cansim_webpage(cansimTableNumber = NULL)
view_cansim_webpage(cansimTableNumber = NULL)
cansimTableNumber |
CANSIM or NDM table number or cansim vectors with "v" prefix. If no number is provided, the vector search page on the Statistic Canada website will be opened. |
none
## Not run: view_cansim_webpage("34-10-0013") ## End(Not run)
## Not run: view_cansim_webpage("34-10-0013") ## End(Not run)