areacorrespondence: Construct an area-weighted correspondence between two digital...

Description Usage Arguments Examples

View source: R/area_correspondence.R

Description

Construct an area-weighted correspondence between two digital boundary files

Usage

1
areacorrespondence(from, to, from.ID, to.ID, filename = NULL)

Arguments

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

Examples

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)

angusmoore/absgeoutils documentation built on May 28, 2019, 4:57 p.m.