'DataCite' Client for 'OAI-PMH' Methods and their Search API

Client for the web service methods provided by 'DataCite' (< https://www.datacite.org/>), including functions to interface with their 'OAI-PMH' 'metadata' service, and a 'RESTful' search API. The API is backed by 'SOLR', allowing expressive queries, including faceting, statistics on variables, and 'more-like-this' queries.


Project Status: Active – The project has reached a stable, usable state and is being actively developed. cran checks Build Status codecov.io rstudio mirror downloads cran version

rdatacite provides programmatic accesses to DataCite metadata

Stable CRAN version

install.packages("rdatacite")

Development version from github

devtools::install_github("ropensci/rdatacite")
library('rdatacite')

OAI-PMH

Ping the service

dc_oai_identify()
#>   repositoryName                      baseURL protocolVersion
#> 1   DataCite MDS https://oai.datacite.org/oai             2.0
#>             adminEmail    earliestDatestamp deletedRecord
#> 1 [email protected] 2011-01-01T00:00:00Z    persistent
#>            granularity compression compression.1
#> 1 YYYY-MM-DDThh:mm:ssZ        gzip       deflate
#>                                      description
#> 1 oaioai.datacite.org:oai:oai.datacite.org:12425

List metadata formats

dc_oai_listmetadataformats(id = "56225")
#> $`56225`
#> NULL

List identifiers

dc_oai_listidentifiers(from = '2011-06-01T', until = '2011-07-01T')
#> # A tibble: 5 x 4
#>   identifier                 datestamp            setSpec setSpec.1
#>   <chr>                      <chr>                <chr>   <chr>    
#> 1 oai:oai.datacite.org:32153 2011-06-08T08:57:11Z TIB     TIB.WDCC 
#> 2 oai:oai.datacite.org:32200 2011-06-20T08:12:41Z TIB     TIB.DAGST
#> 3 oai:oai.datacite.org:32220 2011-06-28T14:11:08Z TIB     TIB.DAGST
#> 4 oai:oai.datacite.org:32241 2011-06-30T13:24:45Z TIB     TIB.DAGST
#> 5 oai:oai.datacite.org:32255 2011-07-01T12:09:24Z TIB     TIB.DAGST

Get records

dc_oai_getrecord(id = "56225")
#> $`oai:oai.datacite.org:56225`
#> $`oai:oai.datacite.org:56225`$header
#> # A tibble: 1 x 3
#>   identifier                 datestamp            setSpec  
#>   <chr>                      <chr>                <chr>    
#> 1 oai:oai.datacite.org:56225 2014-06-03T12:03:28Z BL;BL.ADS
#> 
#> $`oai:oai.datacite.org:56225`$metadata
#> # A tibble: 1 x 12
#>   title creator publisher date  identifier relation subject language type 
#>   <chr> <chr>   <chr>     <chr> <chr>      <chr>    <chr>   <chr>    <chr>
#> 1 Land… AC arc… Archaeol… 2011  doi:10.52… url:htt… Archae… en       Text…
#> # ... with 3 more variables: format <chr>, rights <chr>, coverage <chr>

You can pass in more than one identifier to id parameter.

Solr based search

This is the API for the same query interface you'd use on the DataCite website.

Search

Search for the term laser

dc_search(q = "laser", fl = c('doi','publicationYear'), rows = 5)
#> # A tibble: 5 x 2
#>   doi                        publicationYear
#>   <chr>                      <chr>          
#> 1 10.7283/R3ZW26             2016           
#> 2 10.17035/D.2016.0008119129 2016           
#> 3 10.17035/D.2017.0043078392 2017           
#> 4 10.7283/R3V30K             2016           
#> 5 10.2314/GBV:574957529      2007

Another search: published between 2000 and 2005

dc_search(q = "publicationYear:[2000 TO 2005]", fl = c('doi', 'publicationYear'), rows = 5)
#> # A tibble: 5 x 2
#>   doi                      publicationYear
#>   <chr>                    <chr>          
#> 1 10.7266/N74Q7RW9         2002           
#> 2 10.7266/N71N7Z2D         2000           
#> 3 10.7275/R5X92877         2003           
#> 4 10.3929/ETHZ-A-003907049 2000           
#> 5 10.3929/ETHZ-A-003880262 2000

Facet

dc_facet(q = "wind", facet.field = 'publisher_facet', facet.limit = 5)
#> $facet_queries
#> NULL
#> 
#> $facet_fields
#> $facet_fields$publisher_facet
#> # A tibble: 5 x 2
#>   term                                                       value
#>   <chr>                                                      <chr>
#> 1 PANGAEA - Data Publisher for Earth & Environmental Science 33188
#> 2 Defense Technical Information Center                       2382 
#> 3 Zenodo                                                     2272 
#> 4 Figshare                                                   2247 
#> 5 Unpublished                                                1311 
#> 
#> 
#> $facet_pivot
#> NULL
#> 
#> $facet_dates
#> NULL
#> 
#> $facet_ranges
#> NULL

Stats

dc_stats(q = "ecology", stats.field = 'date')
#> $data
#>                          min         max  count missing
#> date 01-Jan-2007/29-Nov-2010 Summer 2017 212109    6155
#> 
#> $facet
#> NULL

More-like-this

dc_mlt(q = "ecology", mlt.fl = 'title', mlt.count = 2, fl = 'doi')
#> $docs
#> # A tibble: 10 x 1
#>    doi                           
#>    <chr>                         
#>  1 10.7892/BORIS.16333           
#>  2 10.7892/BORIS.16589           
#>  3 10.7892/BORIS.79067           
#>  4 10.7892/BORIS.97918           
#>  5 10.13140/2.1.3940.8968        
#>  6 10.1594/PANGAEA.745038        
#>  7 10.1594/PANGAEA.745039        
#>  8 10.1594/PANGAEA.745049        
#>  9 10.6084/M9.FIGSHARE.1540730.V1
#> 10 10.6084/M9.FIGSHARE.1541138.V1
#> 
#> $mlt
#> $mlt$`5704684`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`7245706`
#> # A tibble: 2 x 3
#>   numFound start doi                     
#>      <int> <int> <chr>                   
#> 1      822     0 10.11588/DIGLIT.27812.12
#> 2      822     0 10.7282/T3P55KJ4        
#> 
#> $mlt$`8103779`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`11360691`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`4647415`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`536251`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`536252`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`536260`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`7506434`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0
#> 
#> $mlt$`7506554`
#> # A tibble: 1 x 2
#>   numFound start
#>      <int> <int>
#> 1        0     0

REST API

  • dc_data_center() - Get a single data center
  • dc_data_centers() - Search data centers
  • dc_member() - Get single DataCite member
  • dc_members() - Search DataCite members
  • dc_work() - Get single works
  • dc_works() - Search works

Get a work

dc_work(doi = "10.5438/0012")
#> $data
#> $data$id
#> [1] "https://doi.org/10.5438/0012"
#> 
#> $data$type
#> [1] "works"
#> 
#> $data$attributes
#> $data$attributes$doi
#> [1] "10.5438/0012"
#> 
#> $data$attributes$identifier
#> [1] "https://doi.org/10.5438/0012"
#> 
#> $data$attributes$url
#> NULL
#> 
#> $data$attributes$author
#>                           literal
#> 1 DataCite Metadata Working Group
#> 
#> $data$attributes$title
#> [1] "DataCite Metadata Schema Documentation for the Publication and Citation of Research Data v4.0"
#> 
#> $data$attributes$`container-title`
#> [1] "DataCite e.V."
#> 
#> $data$attributes$description
#> [1] "1 Introduction\n1.1 The DataCite Consortium\n1.2 DataCite Community Participation\n1.3 The Metadata Schema\n1.4 Version 4.0 Update\n2 DataCite Metadata Properties\n2.1 Overview\n2.2 Citation\n2.3 DataCite Properties\n3 XML Example\n4 XML Schema\n5 Other DataCite Services\nAppendices\nAppendix 1: Controlled List Definitions\nAppendix 2: Earlier Version Update Notes"
#> 
#> $data$attributes$`resource-type-subtype`
#> [1] "Documentation"
#> 
#> $data$attributes$`data-center-id`
#> [1] "datacite.datacite"
#> 
#> $data$attributes$`member-id`
#> [1] "datacite"
#> 
#> $data$attributes$`resource-type-id`
#> [1] "text"
#> 
#> $data$attributes$version
#> [1] "4.0"
#> 
#> $data$attributes$license
#> NULL
#> 
#> $data$attributes$`schema-version`
#> [1] "4"
#> 
#> $data$attributes$results
#>               id             title count
#> 1      Documents         Documents     1
#> 2 IsNewVersionOf Is new version of     1
#> 
#> $data$attributes$`related-identifiers`
#>   relation-type-id           related-identifier
#> 1        Documents https://doi.org/10.5438/0013
#> 2   IsNewVersionOf https://doi.org/10.5438/0010
#> 
#> $data$attributes$published
#> [1] "2016"
#> 
#> $data$attributes$registered
#> [1] "2016-09-19T21:53:56Z"
#> 
#> $data$attributes$checked
#> NULL
#> 
#> $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data-center`
#> $data$relationships$`data-center`$data
#> $data$relationships$`data-center`$data$id
#> [1] "datacite.datacite"
#> 
#> $data$relationships$`data-center`$data$type
#> [1] "data-centers"
#> 
#> 
#> 
#> $data$relationships$member
#> $data$relationships$member$data
#> $data$relationships$member$data$id
#> [1] "datacite"
#> 
#> $data$relationships$member$data$type
#> [1] "members"
#> 
#> 
#> 
#> $data$relationships$`resource-type`
#> $data$relationships$`resource-type`$data
#> $data$relationships$`resource-type`$data$id
#> [1] "text"
#> 
#> $data$relationships$`resource-type`$data$type
#> [1] "resource-types"

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for rdatacite in R doing citation(package = 'rdatacite')
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

rofooter

News

rdatacite 0.4.0

MINOR IMPROVEMENTS

  • pagination fixes (#18)
  • fix unused httr package warning, flagged by cran team (#21)
  • add .github PR and issue templates

rdatacite 0.3.0

NEW FEATURES

  • Gains new functions for working with the DataCite REST API: dc_data_center, dc_data_centers, dc_member, dc_members, dc_work, dc_works (#13)
  • Now using new version of solrium package - users shouldn't see any differences (#16)

BUG FIXES

  • Fix scientific notation (#15)
  • Fix vapply error (#14)

rdatacite 0.1.0

NEW FEATURES

  • Released to CRAN.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rdatacite")

0.4.0 by Scott Chamberlain, a year ago


https://github.com/ropensci/rdatacite


Report a bug at https://github.com/ropensci/rdatacite/issues


Browse source code at https://github.com/cran/rdatacite


Authors: Scott Chamberlain [aut, cre]


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports oai, solrium, jsonlite, crul

Suggests knitr, testthat, webmockr, vcr


See at CRAN