dl_and_unzip: Download a ZIP file from the ABS and unzip the contents

View source: R/dl_and_unzip.R

dl_and_unzipR Documentation

Download a ZIP file from the ABS and unzip the contents

Description

Download a ZIP file from the ABS and unzip the contents

Usage

dl_and_unzip(
  catalogue_string,
  include_pivots = FALSE,
  dest_dir = file.path("data-raw", "raw-data", catalogue_string)
)

Arguments

catalogue_string

Such as "labour-force-australia" or "labour-force-australia-detailed". See ?readabs::search_files() for more.

include_pivots

when FALSE, pivot tables aren't downloaded

dest_dir

Path to directory to which ZIP contents should be extracted

Examples

## Not run: 
dl_and_unzip("labour-force-australia")

## End(Not run)


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