Redistribute Values Between Geographic Areas

Estimate attribute values for one set of polygons from values measured on a different, misaligned set. Provides area-weighted areal interpolation and a dasymetric method that distributes values across a point layer (such as parcel centroids). Count (extensive) measures are total-preserving; rate (intensive) measures use area-weighted means.


sdc.redistribute

R-CMD-check

Redistribute attribute values from one set of polygons onto another, by area weighting (redistribute_direct) or by a dasymetric point layer such as parcel centroids (redistribute_parcels).

Installation

# install.packages("pak")
pak::pak("dads2busy/sdc.redistribute")

Example

library(sdc.redistribute)
data(sdc_example)
redistribute_direct(sdc_example$source, sdc_example$target, extensive = "pop")
#> Simple feature collection with 3 features and 2 fields
#> Geometry type: POLYGON
#> Dimension:     XY
#> Bounding box:  xmin: 0 ymin: 0 xmax: 4 ymax: 2
#> Projected CRS: WGS 84 / Pseudo-Mercator
#>   nbhd                       geometry pop
#> 1   N1 POLYGON ((0 0, 1.5 0, 1.5 2...  90
#> 2   N2 POLYGON ((1.5 0, 2.5 0, 2.5...  50
#> 3   N3 POLYGON ((2.5 0, 4 0, 4 2, ...  60

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sdc.redistribute")

0.1.0 by Aaron Schroeder, 4 months ago


https://dads2busy.github.io/sdc.redistribute/, https://github.com/dads2busy/sdc.redistribute


Report a bug at https://github.com/dads2busy/sdc.redistribute/issues


Browse source code at https://github.com/cran/sdc.redistribute


Authors: Aaron Schroeder [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports sf

Suggests testthat, knitr, rmarkdown, areal, spelling, covr


See at CRAN