ejscreen.acs.rename: Rename Fields of ACS Data for Use in EJSCREEN

View source: R/ejscreen.acs.rename.R

ejscreen.acs.renameR Documentation

Rename Fields of ACS Data for Use in EJSCREEN

Description

Start with raw counts from demographic survey data, and environmental data, and rename fields to use friendly variable names.

Usage

ejscreen.acs.rename(acsraw, folder = getwd(), formulafile)

Arguments

acsraw

Data.frame of raw data counts for each block group, such as population or number of Hispanics.

folder

Default is getwd(). Specifies path for where to read from (if formulafile specified) and write to.

formulafile

Default if this is blank is to use data('ejscreenformulas'). Otherwise filename must be specified. If not specified, function loads this as data().

Value

Returns a data.frame with some or all of input fields, plus calculated new fields.

See Also

ejscreenformulas change.fieldnames.ejscreen.csv analyze.stuff::change.fieldnames()


ejanalysis/ejscreen documentation built on Jan. 1, 2025, 10:04 a.m.