Core workflow

Functions for executing the core workflow.

add_codelist()

Deprecated: Add codelist data to downloaded data

get_codelist()

Deprecated: Get codelist

sp_add_codelist()

Add codelist data to downloaded data

sp_get_codelist()

Get codelist

sp_get_dataset()

Retrieve dataset from statnipokladna

Lists of available entities

Data frames containing IDs and other info on the things (files, data tables) you can fetch via statnipokladna.

sp_codelists

List of available codelists

sp_datasets

List of available datasets

sp_tables

List of available tables (PARTIAL)

Detailed workflow

Functions for executing a more customisable workflow with finer grained control.

sp_get_codelist_file()

Download a codelist XML file

sp_get_codelist_url()

Get URL of a given codelist

sp_get_dataset_url()

Get URL of dataset

sp_get_table_file()

Get path to a CSV file containing a table.

sp_load_codelist()

Load codelist into a tibble from XML file

sp_load_table()

Load a statnipokladna table from a CSV file

Utilities

Tools for working with the public budget database and this package.

sp_get_dataset_doc()

Get dataset documentation