How wpgp/poprf works
popRF is an R package for producing fine-resolution population rasters by using random forests to inform dasymetric redistribution of census counts. The documented workflow is to provide census counts, covariates, a mastergrid, watermask, and pixel-area data to popRF, then use its raster and model outputs; the demo downloads WorldPop covariates for a country. Source excerpts were unavailable, so internal links are limited to relationships stated in the README rather than inferred from filenames.
Main entry points: popRF.R Model run · popRFdemo.R Country demo · create_covariates_list.R Geospatial covariates · popfit.R Random forest
Components 13
User entry points
- Model run
R/popRF.R - Country demo
R/popRFdemo.R
Population modelling
- Census counts
- Geospatial covariates
R/create_covariates_list.R - Mastergrid
- Watermask
- Pixel area
- Random forest
R/popfit.R - Population redistribution
R/apply_constrained.R
Results
- Population raster
R/popRF.R - Model result
R/popRF.R
Other components
- Package user
- WorldPop data
Connections 12
- Package user → Model run: runs with inputs
README.md - Package user → Country demo: starts demo
README.md - Model run → Census counts: accepts counts
README.md - Model run → Geospatial covariates: accepts covariates
README.md - Model run → Mastergrid: accepts template
README.md - Model run → Watermask: accepts mask
README.md - Model run → Pixel area: accepts area data
README.md - Model run → Random forest: uses random forests
README.md - Model run → Population redistribution: performs redistribution
README.md - Country demo → WorldPop data: downloads covariates
README.md - Model run → Population raster: produces raster
README.md - Model run → Model result: returns model result
README.md