Open MikeJohnPage opened 2 weeks ago
Aggregating indices to different levels of geography is a key part of making an index, so let's move those geographical aggregation functions into this package.
{compositr} doesn't necessarily need to work with spatial data though. The aggregation functions just need lookup tables (provided by {geographr}) and population counts (provided by {geographr}) but I can't think of any need for boundaries and other spatial data.
Should calculate_extent()
and calculate_proportion()
be removed from geographr once they are added to compositr (I think so)?
Yes please. They're also separately implemented and used in IMD, so can be removed from there too once added to compositr.