Data at lower aggregation levels may not add up to the more accurate aggregate counts. This function distributes the aggregate level counts proportionally (by population) to the containing lower level geographic regions.
proportional_reaggregate( data, parent_data, geo_match, categories, base = "Population" )
The base geographic data
Higher level geographic data
A named string informing on what column names to match data and parent_data
Vector of column names to re-aggregate
Column name to use for proportional weighting when re-aggregating
dataframe with downsampled variables from parent_data