Deprecated in favour of grattanInflators::cpi_inflator
cpi_inflator_general_date(from_nominal_price = 1, from_date, to_date, ...)
A vector of real prices in to_date
dollars.
(numeric) the nominal prices to be converted to a real price
(character, date-like) the 'date' contemporaneous to from_nominal_price
. The acceptable forms are 'YYYY', 'YYYY-YY' (financial year), 'YYYY-MM-DD', and 'YYYY-Q[1-4]' (quarters). Note a vector cannot contain a mixture of date forms.
(character, date-like) the date at which the real price is valued (where the nominal price equals the real price). Same forms as for from_date
other arguments passed to cpi_inflator