get_lfs_pivot: Download and tidy ABS pivot cubes

View source: R/lfs_pivot.R

get_lfs_pivotR Documentation

Download and tidy ABS pivot cubes

Description

Download and tidy ABS pivot cubes

Usage

get_lfs_pivot(
  cube,
  catalogue_string = "labour-force-australia-detailed",
  path = Sys.getenv("R_READABS_PATH", unset = tempdir()),
  sheet = "Data 1",
  col_names = TRUE
)

Arguments

cube

Unique fragment of datacube filename, such as "EQ03"

catalogue_string

Such as "labour-force-australia-detailed". See ?readabs::show_available_catalogues and ?readabs::search_catalogues.

path

Location to store the raw data cube

sheet

Name of the Excel sheet containing the data for the pivot cube

col_names

Passed to col_names argument of readxl::read_excel(). If TRUE, the default, the text in the spreadsheet will be used as the column names; a character vector can be supplied instead.

Examples

## Not run: 
get_lfs_pivot("EQ03")

## End(Not run)


djpr-data/djprdashdata documentation built on Jan. 20, 2025, 12:31 p.m.