Gross domestic product, at contemporaneous prices (called ‘current prices’ by the ABS).

gdp_qtr(date, roll = "nearest")

gdp_fy(fy_year)

Arguments

date

A Date vector or character coercible thereto.

roll

Passed to data.table when joining.

fy_year

Character vector of financial years.

Source

Australian Bureau of Statistics, Catalogue 5206.0. Series A2304350J.

Value

For gdp_qtr, the quarterly GDP for the quarter date nearest (or otherwise using roll). For gdp_fy the sum over the quarters in the financial year provided. If fy_year would provide incomplete data (i.e. only sum three or fewer quarters), a warning is issued. Dates or fy_year outside the available data is neither a warning nor an error, but NA.