if (kolada_available()) {
# Download Kolada data for all municipalities of type "L"
# (regions and national total) for KPI "N45933"
munic_filter <- get_municipality() %>%
municipality_search("L", column = "type")
kld_data <- get_values(
kpi = "N45933",
municipality = municipality_extract_ids(munic_filter),
period = 2022
)
}
Run the code above in your browser using DataLab