powered by
The function retrieves a list with a lot of metadata about a certain table.
retrieve_metadata(table_id, base_url = "http://api.statbank.dk/v1/")
is the id of the table you want to call. You can get table ids by calling the retrieve_tables function.
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 list
The id of the table.
A description of what the data in the table is about.
What unit the data is in.
Who to contact regarding the data.
Link to a web page with detailed description of the data.
A footnote if applicable.
Details about the variables in the table. Is very useful for when using the retrieve_data function.
# NOT RUN { metadata <- statsDK::retrieve_metadata("PRIS111") dplyr::glimpse(metadata) # }
Run the code above in your browser using DataLab