A Wrapper for the API of Statistics Denmark

Makes it possible through simple functions and commands to get and organize official danish statistics within a wide range of subjects. Visit the < http://statbank.dk/> and < http://api.statbank.dk/console> for further exploration of Statistics Denmark data.


News

statsDK 0.1.0

  • This was the first version

statsDK 0.1.1

  • Added a NEWS.md file to track changes to the package.
  • Changed the package to use the streaming version of the API. This ensures it can collect the very large data sets.
  • Changed to using the httr package for retrival in order to ensure proper error messages from the API.
  • Added the base_url and language arguments for further flexibility.
  • retrieve_data() will fill out missing parameters and setting them to *, which means all data.
  • Metada for a table is added to it as an attribute.
  • Changed the fix_time() function to work on strings and not data frames. The reason for this was to increase the flexibility in cause of name changes in column names.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("statsDK")

0.1.1 by Mikkel Freltoft Krogsholm, 5 months ago


https://github.com/mikkelkrogsholm/statsDK


Report a bug at https://github.com/mikkelkrogsholm/statsDK/issues


Browse source code at https://github.com/cran/statsDK


Authors: Mikkel Freltoft Krogsholm


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports jsonlite, tibble, dplyr, tidyr, utils, stringr, ggplot2, httr, readr, lubridate

Suggests knitr, rmarkdown, testthat


Imported by realestateDK.


See at CRAN