Learn R Programming

noegletalR

The goal of noegletalR is to provide a simple interface between R and ‘noegletal.dk’, a Danish government website providing many interesting variables on Danish municipalities.

Installation

install.packages("noegletalR")

Development version

You can install the development version of noegletalR from GitHub with:

# install.packages("pak")
pak::pak("FrLars21/noegletalR")

TODO

In no particular order, these are the features that I will work towards implementing in the near future:

  • Full test coverage for all functions (especially ensuring accurate parsing of ‘noegletal.dk’ data in diverse situations!).
  • More thoughrough validation and error handling (especially for failed http requests).
  • Response caching (perhaps 1 day for both noegletal_get() and noegletal_vars(), with the possibility to use ignore_cache=True?).
  • Improving the UX for browsing noegletal_vars().
  • Possibly better output formats (i.e. not including years with all-empty rows in the output tibbles?)
  • More options in noegletal_get() (e.g. ‘Pris- og lønregulering (PL)’, ‘Absolut- og pct. vækst’ & ‘Indeks-tal’)

Copy Link

Version

Install

install.packages('noegletalR')

Monthly Downloads

1

Version

0.2.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Frederik Larsen

Last Published

September 12th, 2024

Functions in noegletalR (0.2.1)

noegletalR-package

noegletalR: Tidy Tibbles of Noegletal
noegletal_tidy

Transform a csv file from noegletal.dk into a tidy tibble
noegletal_vars

List the available variables on 'noegletal.dk'
noegletal_get

Get data from noegletal.dk