Consumer Price Index - CPI

Data - IMF

Main Datasets

Javascript

Code
INDICATOR %>%
  filter(INDICATOR %in% gsub(".qmd$", "", list.files(pattern = "\\.qmd$"))) %>%
  mutate(html = paste0('<a  target=_blank href=', INDICATOR, '.html > html </a>')) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}

Flat

Code
INDICATOR %>%
  filter(INDICATOR %in% gsub(".qmd$", "", list.files(pattern = "\\.qmd$"))) %>%
  mutate(html = paste0("[html](", INDICATOR, '.html)')) %>%
  {if (is_html_output()) print_table(.) else .}
INDICATOR Indicator html
PCPIH_IX Housing, Water, Electricity, Gas and Other Fuels [html]
PCPIH_WT Housing, Water, Electricity, Gas and Other Fuels, Weight [html]
PCPI_PC_CP_A_PT Consumer Price Index, All items, Percentage change, Previous year [html]
PCPIH_WT_PT Housing, Water, Electricity, Gas and Other Fuels, Weight, Percent [html]
PCPIHAH_WT_PT Housing, Water, Electricity, Gas and Other Fuels, Harmonized, Weight, Percent [html]

Other Datasets

Code
INDICATOR %>%
  filter(!(INDICATOR %in% gsub(".qmd$", "", list.files(pattern = "\\.qmd$")))) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}