peanutButter: An R package to produce rapid-response gridded population estimates from building footprints
WorldPop, University of Southampton
10 June 2021
peanutButter is an R package that allows you to produce gridded population estimates from building footprints using the "peanut butter" method of spreading people evenly among buildings based on a set of simple parameters. This package allows you to:
- Produce gridded population estimates using a bottom-up approach that applies your estimates of average people per building for urban and rural areas to each building in the corresponding settlement type.
- Produce gridded population estimates using a top-down approach that dissaggregates your population totals for administrative units evenly among buildings such that the population total per administrative unit matches those defined by the user.
- Produce gridded population estimates for specific demographic groups (i.e. age and sex).
- Run the peanutButter web application locally from the R console.
Code for the peanutButter package is openly available on GitHub: https://github.com/wpgp/peanutButter
You are free to redistribute the code using a GNU General Public License v3.0 (GNU GPLv3) .
This work was funded by the Bill and Melinda Gates Foundation (INV-002697) for population modelling to provide critical spatial data and population estimates to support polio surveillance and eradication.
Suggested Citation
Leasure DR, Dooley CA, Bondarenko M, Tatem AJ. 2020. peanutButter: An R package to produce rapid-response gridded population estimates from building footprints, version 1.0.0. WorldPop Research Group, University of Southampton. doi:10.5258/SOTON/WP00717