Description Usage Arguments Examples
View source: R/area_correspondence.R
Construct an area-weighted correspondence between two digital boundary files
1 | areacorrespondence(from, to, from.ID, to.ID, filename = NULL)
|
from |
The simple feature geography you wish to correspond from |
to |
The simple feature geography you wish to correspond to |
from.ID |
The column name that identifies the areas in the from geography |
to.ID |
The column name that identifies the areas in the to geography |
filename |
(optional) A csv filename to write the correspondence to when done |
1 2 3 4 5 6 | ## Not run:
ASGS11_SA2 <- read_sf("extdata/ASGS2011/SA2_2011_AUST.shp")
ASGC06_SLA <- read_sf("extdata/ASGC2006/SLA06aAUST.shp")
areacorrespondence(ASGC06_SLA, ASGS11_SA2, "SLA_CODE06", "SA2_MAIN11")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.