Skip to content

dkanr

Client for the 'DKAN' API

v0.1.3 · Feb 18, 2019 · MIT + file LICENSE

Description

Provides functions to facilitate access to the 'DKAN' API (<https://dkan.readthedocs.io/en/latest/apis/index.html>), including the 'DKAN' REST API (metadata), and the 'DKAN' datastore API (data). Includes functions to list, create, retrieve, update, and delete datasets and resources nodes. It also includes functions to search and retrieve data from the 'DKAN' datastore.

Downloads

CRAN

257

Last 30 days

19136th

646

Last 90 days

2.8K

Last year

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

r2u CRAN

1

Last 30 days

25

Last 90 days

138

Last year

Trend: -88.9% (30d vs prior 30d)

autoCRAN

1

Last 7 days

16

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘getting_started_with_dkanr.Rmd’ using rmarkdown
Warning in file("", "w+b") :
  cannot open file '/tmp/Rtmpm1SwYh/Rf1ccc050924b24': No space left on device

Quitting from getting_started_with_d
...[truncated]...
.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘getting_started_with_dkanr.Rmd’

SUMMARY: processing the following file failed:
  ‘getting_started_with_dkanr.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Line coverage

Expression

Tests / Examples

Functions

46 22 exported

Complexity

1.6 avg / 7 max

Call network

46 nodes / 85 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

3,184

Files

279

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,134 (35.6%)Tests 1,304 (41%)Docs 570 (17.9%)Vignettes 176 (5.5%)

API

Exported functions

22

Internal functions

24

Recent export changes

v0.1.0+22 attach_file_to_node, create_node, delete_node +19 more

Testing & CI

Has tests

Yes

Test-to-code ratio

1.15

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

68.4%

\dontrun example ratio

92.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

6

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2018-03-16

Latest release

2019-02-18

Avg cadence

73 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 3,184 LOCv0.1.1: 3,205 LOCv0.1.2: 3,182 LOCv0.1.3: 3,184 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies assertthat dplyr httr jsonlite purrr stringr tibble dkanr

Version History

5 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Feb 17, 2019
updated 0.1.2 ← 0.1.1 diff Jul 11, 2018
updated 0.1.1 ← 0.1.0 diff Apr 29, 2018
new 0.1.0 Mar 15, 2018