get_code_label: Retrieve Reference Codes and Labels
Description
This function returns reference tables for codes and labels used in the
package. It can provide mappings for census years, sex, age groups, and
province codes (harmonized or non-harmonized).
Usage
get_code_label(what = 4)
Value
A data frame (or tibble) containing codes and labels for the
selected reference category.
Arguments
what
Integer indicating which reference table to return:
1 = Census year and label
2 = Sex code and label
3 = Age (5-year group) code and label
4 = Harmonized province code and label
5 = Non-harmonized province code and label
Details
The function retrieves data from internal reference object
re_label, which stores standardized coding schemes and
their associated labels.