Skip to content

gdldata

'Global Data Lab' R API

v0.3 · Mar 16, 2026 · MIT + file LICENSE

Description

Retrieve datasets from the 'Global Data Lab' website <https://globaldatalab.org> directly into R data frames. Functions are provided to reference available options (indicators, levels, countries, regions) as well.

Downloads

CRAN

492

Last 30 days

8226th

1.6K

Last 90 days

5.6K

Last year

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

r2u CRAN

0

Last 30 days

27

Last 90 days

125

Last year

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

autoCRAN

6

Last 7 days

10

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

20 19 exported

Complexity

2.9 avg / 7 max

Call network

20 nodes / 7 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

1,237

Files

31

Compiled share

0%

Has compiled src

No

Language breakdown

R 705 (57%)Docs 532 (43%)

API

Exported functions

21

Internal functions

1

Recent export changes

v0.2+2 gdl_datasets, set_transposed
v0.1+19 GDLSession, gdl_countries, gdl_indicators +16 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

90.5%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.4

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2023-09-20

Latest release

2026-03-16

Avg cadence

454 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1: 1,114 LOCv0.2: 1,232 LOCv0.3: 1,237 LOC

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

Dependency Network

Dependencies Reverse dependencies httr2 gdldata

Version History

4 tracked
updated 0.3 ← 0.2 diff Mar 16, 2026
new 0.2 Mar 10, 2026
updated 0.2 ← 0.1 diff Aug 31, 2025
new 0.1 Sep 19, 2023