Skip to content

Commit

Permalink
version 0.1.1019
Browse files Browse the repository at this point in the history
  • Loading branch information
antaldaniel committed Feb 24, 2025
1 parent d3bee92 commit 54f17d4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: wbdataset
Title: Making Datasets Truly Interoperable and Reusable in R with Wikibase
Version: 0.1.1018
Date: 2024-02-21
Version: 0.1.1019
Date: 2024-02-24
Authors@R:
c(person(given="Daniel", family="Antal",
email= "[email protected]",
Expand Down
6 changes: 4 additions & 2 deletions R/copy_wikidata_item.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ copy_wikidata_item <- function(
wikibase_api_url = wikibase_api_url,
data_curator = data_curator,
log_path = log_path,
csrf = csrf
csrf = csrf,
wikibase_session = wikibase_session
)

return_log_file$rowid <- defined(
Expand Down Expand Up @@ -530,7 +531,8 @@ copy_wikidata_items <- function(qid_on_wikidata,
wikibase_api_url,
data_curator,
log_path,
csrf) {
csrf,
wikibase_session) {
# Ensure that QIDs are used in the loop ----------------------------
is_qid <- vapply(qid_on_wikidata, is_qid, logical(1))
not_qid <- paste(names(which(!is_qid)), collapse = "|")
Expand Down
3 changes: 2 additions & 1 deletion R/copy_wikidata_property.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ copy_wikidata_property <- function(
wikibase_api_url = wikibase_api_url,
data_curator = data_curator,
log_path = log_path,
csrf = csrf
csrf = csrf,
wikibase_session = wikibase_session
)

return_log_file$rowid <- defined(
Expand Down
4 changes: 1 addition & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![CRAN status](https://www.r-pkg.org/badges/version/wbdataset)](https://CRAN.R-project.org/package=wbdataset)
[![devel-version](https://img.shields.io/badge/devel%20version-0.1.1018-blue.svg)](https://github.com/dataobservatory-eu/wbdataset)
[![devel-version](https://img.shields.io/badge/devel%20version-0.1.1019-blue.svg)](https://github.com/dataobservatory-eu/wbdataset)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13972192.svg)
[![Codecov test coverage](https://codecov.io/gh/dataobservatory-eu/wbdataset/graph/badge.svg)](https://app.codecov.io/gh/dataobservatory-eu/wbdataset)
<!-- badges: end -->
Expand Down Expand Up @@ -61,5 +61,3 @@ The *wbdataset* package has three tutorial articles:
- [Importing from Wikidata or Wikibase](https://wbdataset.dataobservatory.eu/articles/wikidata-import.html) shows you how to import data from Wikidata.
- [Authenticated MediaWiki API Access](https://wbdataset.dataobservatory.eu/articles/Wikibase_API.html) shows how you log in to a Wikibase instance. If you use `wbdataset` to retrieve information only from Wikidata, you do not need this.
- [Getting Started To Create a Graph on Wikibase](https://wbdataset.dataobservatory.eu/articles/start.html) shows how to add data to a Wikibase graph database.


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![CRAN
status](https://www.r-pkg.org/badges/version/wbdataset)](https://CRAN.R-project.org/package=wbdataset)
[![devel-version](https://img.shields.io/badge/devel%20version-0.1.1018-blue.svg)](https://github.com/dataobservatory-eu/wbdataset)
[![devel-version](https://img.shields.io/badge/devel%20version-0.1.1019-blue.svg)](https://github.com/dataobservatory-eu/wbdataset)
\[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13972192.svg)
[![Codecov test
coverage](https://codecov.io/gh/dataobservatory-eu/wbdataset/graph/badge.svg)](https://app.codecov.io/gh/dataobservatory-eu/wbdataset)
Expand Down

0 comments on commit 54f17d4

Please sign in to comment.