aggregateGeography: Aggregate Geography to Higher Census Level

Description Usage Arguments Examples

Description

This function allows you to aggregate the RSEI toxicity data from block level to any higher level. The function can only aggregate up to coarser geographies, and will

Usage

1
aggregateGeography(dataframe, level)

Arguments

dataframe

This is the dataframe that contains your data. Each entry should be already be in census geography, and should contain the columns 'block', 'concentration' and 'area'. Columns must be named as such.

level

This defines how high you would like to aggregate your data. Options are: 'state', 'county', 'tract', or 'block group'.

Examples

1

amd112/rseiAnalysis documentation built on May 28, 2019, 4:55 p.m.