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

Description Usage Arguments Author(s) See Also Examples

View source: R/md_count_identifiers.r

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

1
2
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 [email protected]

See Also

md_identify, md_listidentifiers, md_listmetadataformats, md_listrecords, md_listsets, md_getrecord

Examples

1
2
3
4
5
6
7
8
9
## 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 16, 2018, 7:04 a.m.