powered by
The function retrieves a data frame with all the available tables from the Statistics Denmark API.
retrieve_tables(base_url = "http://api.statbank.dk/v1/")
is the base url for the API you wish to call. Statistics Denmark can sometimes create custom API's that you can use by changing this parameter.
a tibble
The id of the table. This is used when calling specific tables later with retrieve_metadata or retrieve_data.
A description of what the data in the table is about.
What unit the data is in.
When the table was last updated
The first period in the data, ie how far back the data goes.
The latest period in the data.
If the table is still being updated
A list of the variables in the tables.
# NOT RUN { tables <- statsDK::retrieve_tables() dplyr::glimpse(tables) # }
Run the code above in your browser using DataLab