create_poverty_flag: Create Poverty/Not Poverty Flag

Description Usage Arguments Details Value

Description

This function can be used to create a column that categorizes records based on their poverty rate.

Usage

1
create_poverty_flag(pov_column, Latitude, cutoff = 20)

Arguments

pov_column

Name of column with poverty rate - i.e. 20, 30 etc.

Latitude

Column/vector with latitude

cutoff

cutoff for defining a high poverty neighborhood, defaults to 20

Details

It requires that the dataset already has a column for poverty rate for the census tract in which the record is located, which can be created using the relevant poverty packages in this r package.

Note, that areas without population or without poverty rates are labeled "Missing Data"

Value

a new column with markers for Poverty, Not Poverty, or Missing Data


gmellon/neaR documentation built on May 14, 2019, 2:42 p.m.