census2010_to_soc2010: Cross Census 2010 to SOC 2010

View source: R/Census2010_to_SOC2010.R

census2010_to_soc2010R Documentation

Cross Census 2010 to SOC 2010

Description

Cross Census 2010 to SOC 2010

Usage

census2010_to_soc2010(base, census, code_titles = FALSE)

Arguments

base

Dataframe from any Survey including a variable with USA Census 2010 codes

census

character vector containing Census 2010 codes

code_titles

logical, if TRUE code_titles are added to dataframe

Value

The function returns the provided dataframe, adding a new variable with the crosswalk to SOC 2010 codes

Examples


base_crossed <- census2010_to_soc2010(toy_base_ipums_cps_2018,census = "OCC2010",code_titles = FALSE)


Guidowe/occupationcross documentation built on Oct. 4, 2023, 12:09 p.m.