comp_recode: Recode ACS computer/internet access variables

comp_recodeR Documentation

Recode ACS computer/internet access variables

Description

Function to recode tidycensus ACS dataset with a column for computer access and a column for internet access to one column with shortened descriptors.

Usage

comp_recode(df, comp_col, int_col, new_comp = "comp_int")

Arguments

df

A tidycensus ACS dataset with a column for computer access and one for internet access.

comp_col

The name of the computer access column.

int_col

The name of the internet accesss column.

new_comp

The name of the new column

Value

A tidycensus ACS dataset with a factor-ordered computer/internet access column


dpowerstp/acsprocess documentation built on Sept. 4, 2022, 10:18 a.m.