Skip to content

dawaR

An API Wrapper for 'DAWA' - 'The Danish Address Web API'

v0.3.2 · Dec 16, 2025 · GPL (>= 3)

Description

Functions for interacting with all sections of the official 'Danish Address Web API' (also known as 'DAWA') <https://api.dataforsyningen.dk>. The development of this package is completely independent from the government agency, Klimadatastyrelsen, who maintains the API.

Downloads

266

Last 30 days

11926th

510

Last 90 days

510

Last year

Trend: +9% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
ERROR r-oldrel-windows-x86_64

tests

  Running 'testthat.R' [44s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(dawaR)
  ## {dawaR} provides data from the Danish Agency of Climate Data
  ## Terms and conditions apply.
  ## Read more at: https://dawadocs.dataforsyningen.dk/dok/om#vilkaar
  > 
  > test_check("dawaR")
  Starting 2 test processes.
  > test-get_data.R: ! You do not have access to api.dataforsyningen.dk.
  > test-get_data.R: Please check your connection settings.
  > test-get_data.R: ! You do not have access to api.dataforsyningen.dk.
  > test-get_data.R: Please check your connection settings.
  Saving _problems/test-get_data-32.R
  Saving _problems/test-get_data-33.R
  [ FAIL 2 | WARN 0 | SKIP 49 | PASS 9 ]
  
  ══ Skipped tests (49) ══════════════════════════════════════════════════════════
  • On CRAN (49): 'test-1-dawa-sections.R:2:3', 'test-2-get_data-sections.R:2:3',
    'test-3-get_map_data-sections.R:3:3', 'test-autocomplete.R:3:5',
    'test-autocomplete.R:10:5', 'test-autocomplete.R:17:5',
    'test-autocomplete.R:24:5', 'test-autocomplete.R:34:5',
    'test-autocomplete.R:41:5', 'test-autocomplete.R:48:5',
    'test-autocomplete.R:55:5', 'test-autocomplete.R:65:5',
    'test-autocomplete.R:72:5', 'test-autocomplete.R:79:5',
    'test-autocomplete.R:86:5', 'test-autocomplete.R:96:5',
    'test-autocomplete.R:103:5', 'test-autocomplete.R:110:5',
    'test-autocomplete.R:117:5', 'test-base_api.R:8:3', 'test-base_api.R:19:3',
    'test-base_api.R:25:3', 'test-get_data.R:37:3', 'test-get_data.R:42:3',
    'test-get_data.R:48:3', 'test-get_data.R:54:3',
    'test-get_map_data-kommuner.R:2:3', 'test-get_map_data-politikredse.R:2:3',
    'test-get_map_data-postnumre.R:6:3', 'test-get_map_data-regioner.R:2:3',
    'test-get_map_data-vote.R:2:3', 'test-get_map_data.R:1:1',
    'test-afstemningsomraader.R:2:3', 'test-afstemningsomraader.R:8:3',
    'test-afstemningsomraader.R:18:3', 'test-afstemningsomraader.R:28:3',
    'test-afstemningsomraader.R:34:3', 'test-afstemningsomraader.R:40:3',
    'test-afstemningsomraader.R:46:3', 'test-status_check.R:2:3',
    'test-status_check.R:23:3', 'test-status_check.R:23:3',
    'test-status_check.R:23:3', 'test-status_check.R:23:3', 'test-reverse.R:2:3',
    'test-reverse.R:8:3', 'test-reverse.R:17:3', 'test-reverse.R:26:3',
    'test-reverse.R:35:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_data.R:32:3'): get_data() returns data and in the proper format ──
  Expected `response_no_list[1, ]` to equal `expected_no_list[1, ]`.
  Differences:
  `actual` is NULL
  `expected` is an S3 object of class <data.frame>, a list
  
  ── Failure ('test-get_data.R:33:3'): get_data() returns data and in the proper format ──
  Expected `response_list[[1]]` to equal `expected_list`.
  Differences:
  `actual` is NULL
  `expected` is a list
  
  
  [ FAIL 2 | WARN 0 | SKIP 49 | PASS 9 ]
  Error:
  ! Test failures.
  Execution halted
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-oldrel-windows-x86_64

tests

  Running 'testthat.R' [44s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(dawa

Dependency Network

Dependencies Reverse dependencies memoise cli httr2 sf tidyRSS rlang curl dawaR

Version History

new 0.3.2 Mar 9, 2026