Closed janowicz closed 10 years ago
Pandas-based function to scale values in the disaggregate data to match an aggregate target value.
Examples:
scale_to_match(buildings, 'unit_price', 'tract_id', median_home_values) scale_to_match(buildings, 'year_built', 'bg_id', acs_mean_year_built) scale_to_match(buildings, 'non_residential_sqft','zone_id', sqft_implied_from_employment, type='sum')
Closing. See issue #45: Scale/synthesize to match aggregate totals.
Pandas-based function to scale values in the disaggregate data to match an aggregate target value.
Examples: