-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
49 lines (36 loc) · 1.59 KB
/
README.Rmd
File metadata and controls
49 lines (36 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# noegletalR
<!-- badges: start -->
[](https://github.com/FrLars21/noegletalR/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
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
``` r
install.packages("noegletalR")
```
### Development version
You can install the development version of noegletalR from GitHub with:
``` r
# 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')