read_correspondence_tbl: Read in ASGC/ASGS 2016 population-weighted correspondence...

View source: R/read_correspondence_tbl.R

read_correspondence_tblR Documentation

Read in ASGC/ASGS 2016 population-weighted correspondence tables from the ABS.

Description

Read in ASGC/ASGS 2016 population-weighted correspondence tables from the ABS.

Usage

read_correspondence_tbl(
  from_area,
  from_year,
  to_area,
  to_year,
  export_dir = tempdir()
)

Arguments

from_area

The area you want to correspond FROM (ie the areas your data are currently in). For example: "sa1", "sa2, "sa3", "sa4".

from_year

The year you want to correspond FROM. For example: 2011, 2016.

to_area

The area you want to correspond TO (ie the areas you want your data to be in).

to_year

The year you want to correspond TO.

export_dir

path to a directory to store the desired sf object. tempdir() by default.

Value

A tibble object.

Source

<https://data.gov.au/dataset/ds-dga-23fe168c-09a7-42d2-a2f9-fd08fbd0a4ce>

Examples

## Not run: 
sa4_corr <- read_correspondence_tbl("sa4", 2011, "sa4", 2016)
lga2011_to_2018 <- read_correspondence_tbl("LGA", 2011, "LGA", 2018)

## End(Not run)

runapp-aus/abscorr documentation built on Oct. 15, 2024, 2:18 p.m.