if (FALSE) {
# Get data filters identificators for CPI
# filter the data_ids to get data for january of 2023
# for all goods and services for Russian Federation
# POST filters and download data in sdmx format
# Parse raw sdmx to data.frame
data <- fedstat_get_data_ids("31074") %>%
fedstat_data_ids_filter(
filters = list(
"Territory" = "Russian Federation",
"Year" = "2023",
"Period" = "January",
"Types of goods and services" = "*"
)
) %>%
fedstat_post_data_ids_filtered() %>%
fedstat_parse_sdmx_to_table()
# Not actual filter field titles and filter values titles because of ASCII requirement for CRAN
}
Run the code above in your browser using DataLab