aggregate_lodes_df {lehdr}R Documentation

Aggregate data to a certain level dictated by inputs. Internal function.

Description

Helper function for lehdr which aggregates block geographies based on the block id.

Usage

aggregate_lodes_df(lehdr_df, geoid_to, aggname)

Arguments

lehdr_df

Data frame (tibble) to be aggregated

geoid_to

The number of characters to do the aggregation on from the geoid

aggname

What the level is called, like "tract" etc


[Package lehdr version 1.1.3 Index]