dst_tables: retrieve tables from Statistics Denmark

Description Usage Arguments Value Examples

Description

You can use 'dst_tables()' to get a tibble, which contain information about the data sets available at the Bureau.

Usage

1
dst_tables(subjectsID, lang = "en", columns = c("id", "text"))

Arguments

subjectsID

Should the data sets be within a specific field. See dst_subject() for IDs.

lang

the desired language. Can take the values "da" for danish and "en" english.

columns

the returned columns. Can take the values "id", "text", "unit", "updated", "firstPeriod", "latestPeriod", "active" or "variables"

Value

Tibble which contain information about all tables available at Danish Statistics. If subject is provided only tables within the subject is returned. tibble will contain the columns specified in the columns argument. The language is as default English otherwise "da" is provided in the lang argument.

Examples

1
2
dst_tables() # retrieve all tables
dst_tables(subjectsID = "02") # Population and elections data sets

elben10/rdst documentation built on May 8, 2019, 10:59 p.m.