read_lfs_grossflows: Download, import and tidy 'gross flows' data cube from the...

Description Usage Arguments Value Examples

View source: R/read_lfs_grossflows.R

Description

This convenience function downloads, imports and tidies the 'gross flows' data cube from the monthly ABS Labour Force survey. The gross flows data cube (GM1) shows estimates of the number of people who transitioned from one labour force status to another between two months.

Usage

1
2
3
4
read_lfs_grossflows(
  weights = c("current", "previous"),
  path = Sys.getenv("R_READABS_PATH", unset = tempdir())
)

Arguments

weights

either '"current"' or '"previous"'. If '"current"', figures will use the current month's Labour Force survey weights; if '"previous"', the previous month's weights are used.

path

Local directory in which downloaded files should be stored. By default, 'path' takes the value set in the environment variable "R_READABS_PATH". If this variable is not set, any files downloaded will be stored in a temporary directory ('tempdir()'). See 'Details' in ?read_abs for more information.

Value

A tibble containing data cube GM1 from the monthly Labour Force survey.

Examples

1
2
3
4
## Not run: 
read_lfs_grossflows()

## End(Not run)

readabs documentation built on May 24, 2021, 9:06 a.m.