Read-Write API Client Library for Wikidata
Overview
Read from, interogate, and write to Wikidata https://www.wikidata.org - the multilingual, interdisciplinary, semantic knowledgebase. Includes functions to: read from wikidata (single items, properties, or properties); query wikidata (retrieving all items that match a set of criterial via Wikidata SPARQL query service); write to Wikidata (adding new items or statements via QuickStatements); and handle and manipulate Wikidata objects (as lists and tibbles). Uses the Wikidata and Quickstatements APIs.
Install
Health
CRAN check results are not tracked yet.
Documentation
- Help pages
- 38includes a package overview page
- Examples that run
- 65%13 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
- Exported functions with examples
- 61%
- Documented parameters
- 100%
- Return-value docs
- 91%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Previously maintained by Oliver Keyes (1.0.0 to 1.4.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- archivedRemoved from CRAN2026-02-08requires archived package 'WikidataQueryServiceR'
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 2.3.32021-11-16 · diff ↗
- 2.3.1
- 2.2.02021-07-05 · diff ↗
- 2.1.52021-05-25 · diff ↗ ·
added 25 exports
as_pid, as_qid, as_quot, as_sid, check_input, createrows, createrows.tidy, extract_para, get_example, get_names_from_properties, identifier_from_identifier, initials, list_properties, qid_from_DOI, qid_from_ORCID, qid_from_identifier, qid_from_name, query_wikidata, searcher, sparql_query, unspecial, url_to_id, wd_query, wd_rand_query, write_wikidata - RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.4.02017-09-22 · diff ↗
- 1.3.0
Package metadata
- First published
- 2015-06-01
- Total releases
- 10 / 11 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("WikidataR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.