oc_lookup: Methods for getting IDs from other IDs

Description Usage Arguments Value Examples

Description

Methods for getting IDs from other IDs

Usage

1
2
3
4
5

Arguments

id

One or more digital object identifiers (DOI), PMID, or PMCID, depending on the function

...

curl options passed on to crul::verb-GET

Value

data.frame, with four columns:

An empty data.frame (no columns or rows) when no results found

Column order will always be the same; note though that some columns may be missing if, for example, there's no PMID for a DOI search.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
if (oc_lookup_check()) {
try(
  oc_doi2ids("10.1097/igc.0000000000000609", timeout_ms=10),
  silent = TRUE
)
}

### More examples
## Not run: 
oc_doi2ids('10.1093/biomet/80.3.527')
oc_doi2ids('10.1093/biomet/79.3.531')
oc_pmid2ids("26645990")
oc_pmcid2ids("PMC4679344")

oc_doi2ids(id = oc_dois[1:3])
oc_pmid2ids(id = oc_pmids[1:3])
oc_pmcid2ids(id = oc_pmcids[1:3])

## End(Not run)

citecorp documentation built on April 17, 2020, 1:26 a.m.