Learn R Programming

cansim (version 0.3.7)

add_provincial_abbreviations: Add provincial abbreviations as factor

Description

Add provincial abbreviations as factor

Usage

add_provincial_abbreviations(data)

Arguments

data

codecansim package data frame with provincial level data

Value

a codecansim package data frame with additional factor GEO.abb that contains language-specific provincial abbreviations

Examples

Run this code
# NOT RUN {
df <- get_cansim("17-10-0005")
df <- add_provincial_abbreviations(df)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab