Skip to content

tidywikidatar

Explore 'Wikidata' Through Tidy Data Frames

v0.6.2 · May 6, 2026 · MIT + file LICENSE

Description

Query 'Wikidata' API <https://www.wikidata.org/wiki/Wikidata:Main_Page> with ease, get tidy data frames in response, and cache data in a local database.

Downloads

CRAN

327

Last 30 days

13761st

938

Last 90 days

3.5K

Last year

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

r2u CRAN

0

Last 30 days

31

Last 90 days

124

Last year

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

autoCRAN

14

Last 7 days

29

Last 30 days

5

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
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Giorgio Comai <giorgio.comai@cci.tn.it>’

Reading Rd files failed with message:
  cannot open the connection
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 14, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 29, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘tidywikidatar-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tw_get_cached_search
> ### Title: Retrieve cached search
> ### Aliases: tw_get_cached_search
> 

...[truncated]...
ct deleted before being returned.
<pool> Make sure to `poolReturn()` all objects retrieved with `poolCheckout().`
<pool> Checked-out object deleted before being returned.
<pool> Make sure to `poolReturn()` all objects retrieved with `poolCheckout().`
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

17,059

Files

179

Compiled share

0%

Has compiled src

No

Language breakdown

R 9,642 (56.5%)Tests 1,040 (6.1%)Docs 5,940 (34.8%)Vignettes 437 (2.6%)

API

Exported functions

90

Internal functions

12

Recent export changes

v0.6.1+1 tw_get_item
v0.6.0+2 tw_get_user_agent, tw_set_user_agent

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

98.7%

\dontrun example ratio

29.5%

Roxygen coverage

98.9%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

40

Dep constraint coverage

11.8%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

18

First release

2021-04-19

Latest release

2026-05-06

Avg cadence

60 days

Cold removal rate

100%

Dep drift

11

LOC over versions

v0.2.0: 3,638 LOCv0.3.0: 4,985 LOCv0.4.0: 5,377 LOCv0.4.1: 5,478 LOCv0.4.2: 6,777 LOCv0.5.0: 10,050 LOCv0.5.1: 11,331 LOCv0.5.2: 12,828 LOCv0.5.3: 13,752 LOCv0.5.4: 13,852 LOCv0.5.5: 13,854 LOCv0.5.6: 13,897 LOCv0.5.7: 14,140 LOCv0.5.8: 14,295 LOCv0.5.9: 14,369 LOCv0.6.0: 16,501 LOCv0.6.1: 16,589 LOCv0.6.2: 17,059 LOC

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

Dependency Network

Dependencies Reverse dependencies magrittr dplyr tidyr stringr glue DBI RSQLite tibble purrr cli fs rlang progress jsonlite pool +2 more dependencies tidywikidatar

Version History

19 tracked
updated 0.6.2 ← 0.6.1 diff May 6, 2026
new 0.6.1 Mar 10, 2026
updated 0.6.1 ← 0.6.0 diff Feb 9, 2026
updated 0.6.0 ← 0.5.9 diff Feb 3, 2026
updated 0.5.9 ← 0.5.8 diff Jul 28, 2024
updated 0.5.8 ← 0.5.7 diff Mar 28, 2024
updated 0.5.7 ← 0.5.6 diff Mar 9, 2023
updated 0.5.6 ← 0.5.5 diff Jan 30, 2023
updated 0.5.5 ← 0.5.4 diff Oct 30, 2022
updated 0.5.4 ← 0.5.3 diff Aug 5, 2022
updated 0.5.3 ← 0.5.2 diff Jun 6, 2022
updated 0.5.2 ← 0.5.1 diff May 17, 2022
updated 0.5.1 ← 0.5.0 diff Mar 11, 2022
updated 0.5.0 ← 0.4.2 diff Jan 25, 2022
updated 0.4.2 ← 0.4.1 diff Sep 13, 2021