Usage
get_cpi_price_quotes(year, month, foodonly = TRUE, path)
Arguments
- year
Year to extract
- month
Month to extract
- foodonly
whether to exclude non-food products from the output.
- path
Optional path to save data
Value
a tibble of price quotes
Examples
if (FALSE) { # \dontrun{
get_cpi_price_quotes(2021, 8)
# You can extract multiple months, but beware that the format changes over
time
get_cpi_price_quotes(2024, 1:12)
} # }