disaggregator: Disaggregate population totals from polygons

Description Usage Arguments Value

View source: R/disaggregator.R

Description

Create gridded population estimates by disaggregating population totals from polygon geometries using building footprints.

Usage

1
disaggregator(feature, buildings, popcol = NULL)

Arguments

feature

sf. An "sf" object with feature geometries (POLYGONS or MULTIPOLYGONS). The first column should contain population totals for each polygon (class "numeric").

buildings

raster. A "raster" object with counts of buildings per pixel.

popcol

character. The column name from "feature" that contains the population totals. If NULL, the first column will be used.

Value

Gridded population estimates as a "raster" object.


wpgp/peanutButter documentation built on June 13, 2021, 12:11 a.m.