The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.