kpi_extract_ids | R Documentation |
This function is primarily intended as a convenient way to pass a (filtered)
Kolada KPI metadata table to get_values
.
kpi_extract_ids(kpi_df)
kpi_df |
A Kolada KPI metadata table, e.g. as created by
|
A vector of KPI IDs.
# Download Kolada data for KPIs matching the term "BRP" (gross regional # product) for the years 2010-2019 # (omit the parameter "max_results" to actually download all data) kpi_filter <- get_kpi(max_results = 1000) %>% kpi_search("BRP") # Only download 100 observations # (omit the parameter "max_results" to actually download all data) kld_data <- get_values( kpi = kpi_extract_ids(kpi_filter), period = 2010:2019, max_results = 100 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.