count_identifiers: Count OAI-PMH identifiers for a data provider.

View source: R/md_count_identifiers.r

count_identifiersR Documentation

Count OAI-PMH identifiers for a data provider.

Description

Count identifiers for the data sources from the OAI-PMH list, and others not on that list, including PMC, DataCite, Hindawi Journals, Dryad, and Pensoft Journals.

Usage

count_identifiers(provider = NULL, metadataPrefix = "oai_dc",
  fuzzy = FALSE, useurl = FALSE, seconds = 3)

Arguments

provider

The metadata provider.

metadataPrefix

Specifies the metadata format that the records will be returned in.

fuzzy

Do fuzzy search or not (default FALSE). Fuzzy uses agrep.

useurl

Setting to TRUE allows you to just provide the metadata provider name, and any matches found the function will just use the url to query their OAI-PMH API.

seconds

Number of seconds by which to timeout an API call to one of the data providers.

Author(s)

Scott Chamberlain myrmecocystus@gmail.com

See Also

md_identify, md_listidentifiers, md_listmetadataformats, md_listrecords, md_listsets, md_getrecord

Examples

## Not run: 
# Select one
md_count_identifiers(provider="datacite")

# Select a few
library("plyr")
ldply(c("datacite","pensoft","arXiv"), md_count_identifiers)

## End(Not run)

ropensci/rmetadata documentation built on May 18, 2022, 6:41 p.m.