ff_acs_keep_vars: Filter ACS data for specific variables

View source: R/cleaning.R

ff_acs_keep_varsR Documentation

Filter ACS data for specific variables

Description

ACS variables are three digit numbers shown as the last three digits in the 'variables' column. The function filters a dataframe of ACS data for specified variables.

Usage

ff_acs_keep_vars(df, variables)

Arguments

df

Dataframe of ACS data

variables

Vector of strings signifying variable numbers

Value

Same dataframe as input, but only the rows with the needed variables are included.

Examples

ff_acs_keep_vars(df, c('100', '101'))


forsythfuture/FFtools documentation built on April 5, 2022, 10:02 p.m.