aw_intersect | R Documentation |
aw_intersect
intersects the source and target datasets and
computes a new area field for the intersected data using the units associated
with whatever project the data are currently in. This is the first step in the
interpolation process after data validation and subsetting.
aw_intersect(.data, source, areaVar)
.data |
A |
source |
A |
areaVar |
The name of the new area variable to be calculated. |
A sf
object with the intersected data and new area field.
library(dplyr) race <- select(ar_stl_race, GEOID, TOTAL_E) wards <- select(ar_stl_wards, WARD) aw_intersect(wards, source = race, areaVar = "area")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.