Skip to contents

Value of an ABS Time Series indicator for a specific year and month.

Usage

value_at(data, filter_with, at_year = NULL, at_month = NULL)

Arguments

data

a dataframe of ABS time series data.

filter_with

a named list of at least an indicator to filter the dataframe on.

at_year

a year (numeric). Defaults to the most recent year if NULL (the default) and at_month = NULL. If only at_year is specified, the value is averaged over the year (Not yet implemented)

at_month

a month (name). Defaults to the most recent month if NULL (the default)

Value

a number

Examples

library(reportabs)
labour_force_briefing <- read_absdata("labour_force_briefing")
#> Reading labour_force_briefing file found in /tmp/RtmpBrGMvV
value_at(labour_force_briefing , filter_with = list(indicator = "Employed total"))
#> → No year or month specified. Returning data for 2025 May
#> numeric(0)