aggregate_lodes_df.RdHelper function for lehdr which aggregates block geographies based on the block id.
aggregate_lodes_df(lehdr_df, geoid_to, aggname)
| 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 |