View source: R/nl_price_index.R
nl_price_index | R Documentation |
This function provides the Consumer Price Index (CPI) for a given year range both in a factor or dataframe based on CBS data and further described in 2.6.1.1 of the Dutche EE guideline
nl_price_index(
start_year = 2013,
end_year = 2023,
output = c("table", "factor")
)
start_year |
start year for CPI output table or factor |
end_year |
End year for CPI output table or factor |
output |
Which output we would like to see. "factor": is the factor from start to end year, "table" is the table of all CPIs from start to end year |
Dataframe or factor with CPI data from start year to end year
# Example usage of the nl_price_index function
# Get the CPI factor from 2013 to 2023
nl_price_index(start_year = 2013, end_year = 2023, output = "factor")
# Get the CPI table from 2013 to 2023
nl_price_index(start_year = 2013, end_year = 2023, output = "table")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.