Labour force inflators
lf_inflator_fy(labour_force = 1, from_fy = NULL, to_fy = NULL, useABSConnection = FALSE, allow.projection = TRUE, use.month = 1L, forecast.series = c("mean", "upper", "lower", "custom"), forecast.level = 95, lf.series = NULL, .lf_indices = NULL, accelerate.above = 100000L) lf_inflator(labour_force = 1, from_date = "2013-06-30", to_date, useABSConnection = FALSE)
labour_force | A numeric vector. |
---|---|
from_fy, to_fy | (character) a character vector with each element in the form "2012-13" representing the financial years between which the labour force inflator is desired. If both |
useABSConnection | Should the function connect with ABS.Stat via an SDMX connection? If If the SDMX connection fails, a message is emitted (not a warning) and
the function contines as if The internal data was updated on 2019-11-15 to 2019-11-01. |
allow.projection | Logical. Should projections be allowed? |
use.month | An integer (corresponding to the output of |
forecast.series | Whether to use the forecast mean, or the upper or lower boundaries of the prediction intervals. |
forecast.level | The prediction interval to be used if |
lf.series | If |
.lf_indices | (Internal use only.) A |
accelerate.above | An integer setting the threshold for 'acceleration'.
When the maximum length of the arguments exceeds this value, calculate each unique value individually
then combine. Set to 100,000 as a rule of thumb beyond which calculation speeds benefit
dramatically. Can be set to |
from_date | The date of |
to_date | Dates as a character vector. |
ABS Cat 6202.0 http://www.abs.gov.au/ausstats/abs@.nsf/mf/6202.0?OpenDocument.
The relative labour force between to_date
and for_date
or to_fy
and from_fy
, multiplied by labour_force
.
lf_inflator
is used on dates. The underlying data series is available every month.
lf_inflator_fy(labour_force = 1, from_fy = "2012-13", to_fy = "2013-14")#> [1] 1.008034library(data.table) # Custom 1% growth over 2018-19 -> 2019-20 lf_inflator_fy(from_fy = "2018-19", to_fy = "2019-20", forecast.series = "custom", lf.series = data.table(fy_year = c("2018-19", "2019-20"), r = c(0, 0.01)))#> [1] 1.01# NOT RUN { lf_inflator(labour_force = 1, from_date = "2013-06-30", to_date = "2014-06-30") # }