CANSIM2R (version 1.14.1)

mergeCANSIM: mergeCANSIM

Description

Extracts more than one CANSIM table and produces a merged table (by ID and period).

Usage

mergeCANSIM(cansimTableVector, keepUnmatched = FALSE, showLabels = TRUE, lang = 'eng')

Arguments

cansimTableVector

- vector containing all the CANSIM tables to extract and merge.

keepUnmatched

- if true, keeps all values, even if no match was found. FALSE by default.

showLabels

- show the Statistics Canada labels after finishing extracting and converting the table, TRUE by default.

lang

- language for data labels ('eng' for English or 'fra' for French), 'eng' by default.

Value

data frame containing CANSIM tables.

Examples

Run this code
# NOT RUN {
mergeCANSIM( c(23100067, 23100238) )
# }

Run the code above in your browser using DataLab