abs-conn {grattanInflators}R Documentation

ABS Connections

Description

The package uses the catalogue mirrored at https://github.com/HughParsonage/ABS-Catalogue. These functions expose the guts of the package's method to connect to this mirror.

Each inflator, plus the 'adjustment', is associated with an ABS Series ID.

Usage

content2series_id(
  broad_cat = c("cpi", "lfi", "wpi"),
  adjustment = c("original", "seasonal", "trend", "trimmed-mean", "monthly-original",
    "monthly-seasonal", "monthly-excl-volatile")
)

download_data(series_id = NULL)

when_last_updated()

Arguments

broad_cat, adjustment

Definitions to identify the Series ID. If any are multiple, the result is of the cartesian join, not the component-wise values.

series_id

The Series ID desired. For download_data, if NULL, the default, downloads all files required.

Value

content2series_id

A character vector, the Series ID identified by 'broad_cat' and 'adjustment'

download_data

Called for its side-effect, downloading the data required. If successful, returns zero.

when_last_updated

The date the downloaded data was last retrieved, or the string "Never" if the file does not exist.


[Package grattanInflators version 0.5.3 Index]