if (kolada_available()) {
# Search for a single search term in a KPI table
kpis <- get_kpi(id = c("N11002", "N11003", "N11004", "N11005"))
kpi_filter <- kpi_search(kpis, "kostnad")
# Add keywords to a KPI table and search for multiple terms among
# the keywords
kpi_filter <- get_kpi(id = c("N11002", "N11003", "N11004", "N11005")) %>%
kpi_bind_keywords(n = 3) %>%
kpi_search(
query = c("nettokostnad", "öppen"),
column = c("keyword_1", "keyword_2", "keyword_3")
)
}
Run the code above in your browser using DataLab