dst_get_all_data: This function returns the entire table requested data from...

View source: R/dst_get_all_data.R

dst_get_all_dataR Documentation

This function returns the entire table requested data from the StatBank. (http://www.statistikbanken.dk/statbank5a/ or http://www.dst.dk)

Description

Get all data from a table in the StatBank. This function provides all the query parameters on the user's behalf. You, as a user, do not need to specify anything other than a table name and you will be given the entire contents of the table in a nice long format. This is useful for you, if you would like to filter the table with e.g. {dplyr} functions or save the entire table for archival.

Usage

dst_get_all_data(table, lang = "da", parse_dst_tid = TRUE)

Arguments

table

Table from StatBank.

lang

language. "en" for english or "da" for danish.

parse_dst_tid

Logical. Default is TRUE. The date will be the first day of the period and the time zone is "UTC" and not the Danish "CET".

Author(s)

Aleksander Bang-Larsen contact@aleksanderbl.dk

See Also

Other Data retrival functions: dst_get_data()


rOpenGov/dkstat documentation built on Dec. 13, 2024, 4:21 a.m.