Package: rKolada 0.3.2.9001

rKolada: Access Data from the 'Kolada' Database

Methods for downloading and processing data and metadata from 'Kolada', the official Swedish regions and municipalities database <https://www.kolada.se/>.

Authors:Love Hansson [aut, cre, cph]

rKolada_0.3.2.9001.tar.gz
rKolada_0.3.2.9001.zip(r-4.7-any)rKolada_0.3.2.9001.zip(r-4.6-any)rKolada_0.3.2.9001.zip(r-4.5-any)
rKolada_0.3.2.9001.tgz(r-4.6-any)rKolada_0.3.2.9001.tgz(r-4.5-any)
rKolada_0.3.2.9001.tar.gz(r-4.7-any)rKolada_0.3.2.9001.tar.gz(r-4.6-any)
rKolada_0.3.2.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rKolada/json (API)

# Install 'rKolada' in R:
install.packages('rKolada', repos = c('https://lchansson.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lchansson/rkolada/issues

Pkgdown/docs site:https://lchansson.github.io

On CRAN:

Conda:

5.30 score 4 stars 6 scripts 293 downloads 32 exports 26 dependencies

Last updated from:8afe11f93b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK153
source / vignettesOK175
linux-releaseOK143
macos-releaseOK222
macos-oldrelOK190
windows-develOK106
windows-releaseOK116
windows-oldrelOK105
wasm-releaseOK138

Exports:allowed_entitiescompose_metadata_queryget_kpiget_kpi_groupsget_metadataget_municipalityget_municipality_groupsget_ouget_valueskolada_availablekolada_cache_dirkolada_clear_cachekpi_bind_keywordskpi_describekpi_extract_idskpi_grp_describekpi_grp_extract_idskpi_grp_searchkpi_grp_unnestkpi_minimizekpi_searchmunicipality_extract_idsmunicipality_grp_describemunicipality_grp_extract_idsmunicipality_grp_searchmunicipality_grp_unnestmunicipality_id_to_namemunicipality_name_to_idmunicipality_searchou_searchvalues_legendvalues_minimize

Dependencies:askpassclicpp11curldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslpillarpkgconfigpurrrR6rlangstringistringrsystibbletidyrtidyselectutf8vctrswithr

A quick start guide to rKolada
1. Get metadata | 2. Search metadata | 3. Describe KPIs | 4. Get data | 5. Inspect and visualise results | Next steps | Related packages

Last update: 2026-04-10
Started: 2021-03-20

Introduction to rKolada
Kolada, a Key Performance Indicator database for Swedish municipalities and regions | The data model | Downloading data | Downloading metadata: get functions | Exploring metadata | Extra functions for exploring KPI metadata | Metadata groups | Downloading data using metadata | Related packages

Last update: 2026-04-10
Started: 2020-04-14

Readme and manuals

Help Manual

Help pageTopics
Allowed entities: Kolada metadata classesallowed_entities
Compose a query to fetch metadata from the Kolada API. Its use is mainlycompose_data_query
Compose a query to fetch metadata from the Kolada API.compose_metadata_query
Download metadata for a specific entity from the Kolada APIget_kpi get_kpi_groups get_municipality get_municipality_groups get_ou
Download metadata from the Kolada APIget_metadata
Get data from Koladaget_values
Check if the Kolada API is availablekolada_available
Get the rKolada cache directorykolada_cache_dir
Clear the rKolada cachekolada_clear_cache
Add keyword columns to a Kolada KPI tablekpi_bind_keywords
Describe the KPIs in a Kolada KPI metadata tablekpi_describe
Extract a vector of KPI ID strings from a Kolada KPI metadata tablekpi_extract_ids
Describe the KPIs in a Kolada KPI Group metadata tablekpi_grp_describe
Extract KPI ID strings from a Kolada KPI Group metadata tablekpi_grp_extract_ids
Search a Kolada KPI Group metadata table for group nameskpi_grp_search
Create a KPI table from a Kolada KPI Group metadata tablekpi_grp_unnest
Simplify a KPI tablekpi_minimize
Search for Kolada KPIs using a Kolada KPI tablekpi_search
Extract a vector of municipality ID strings from a Kolada municipality tablemunicipality_extract_ids
Describe the municipalitie in a Kolada Municipality Group metadata tablemunicipality_grp_describe
Extract municipality ID strings from a Kolada municipality group tablemunicipality_grp_extract_ids
Search a Kolada Municipality Group metadata table for group namesmunicipality_grp_search
Create a municipality table from a Kolada Municipality Group metadata tablemunicipality_grp_unnest
Convert a vector of municipality ids to municipality namesmunicipality_id_to_name
Convert a vector of municipality names to municipality idsmunicipality_name_to_id
Search a Kolada municipality metadata tablemunicipality_search
Search a Kolada Organizational Unit metadata tableou_search
Create KPI long-form descriptions to add to a plotvalues_legend
Simplify a Kolada values tablevalues_minimize