epmc_search_by_doi: Search Europe PMC by DOIs

Description Usage Arguments Examples

View source: R/epmc_search_by_doi.r

Description

Look up DOIs indexed in Europe PMC and get metadata back.

Usage

1
epmc_search_by_doi(doi = NULL, output = "parsed")

Arguments

doi,

character vector containing DOI names.

output

character, what kind of output should be returned. One of 'parsed', 'id_list' or 'raw' As default, parsed key metadata will be returned as data.frame. 'id_list' returns a list of IDs and sources. Use 'raw' to get full metadata as list. Please be aware that these lists can become very large.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# single DOI name
epmc_search_by_doi(doi = "10.1161/strokeaha.117.018077")
# multiple DOIname in a vector
my_dois <- c(
  "10.1159/000479962",
  "10.1002/sctm.17-0081",
  "10.1161/strokeaha.117.018077",
  "10.1007/s12017-017-8447-9")
epmc_search_by_doi(doi = my_dois)
# full metadata
epmc_search_by_doi(doi = my_dois, output = "raw")

## End(Not run)

ropensci/europepmc documentation built on June 8, 2020, 11:27 a.m.