Search Europe PMC publication database

Share:

Description

This is the main function to search Europe PMC RESTful Web Service (http://europepmc.org/RestfulWebService)

Usage

1
2
epmc_search(query = NULL, limit = 25, id_list = FALSE, synonym = FALSE,
  verbose = TRUE)

Arguments

query

character, search query. For more information on how to build a search query, see http://europepmc.org/Help

limit

integer, limit the number of records you wish to retrieve. By default, 25 are returned.

id_list

logical, should only IDs (e.g. PMID) and sources be retrieved for the given search terms?

synonym

logical, synonym search. If TRUE, synonym terms from MeSH terminology and the UniProt synonym list are queried, too. Disabled by default.

verbose

logical, print some information on what is going on.

Value

data.frame

See Also

http://europepmc.org/Help

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 
#Search articles for 'Gabi-Kat'
my.data <- epmc_search(query='Gabi-Kat')

#Get article metadata by DOI
my.data <- epmc_search(query = 'DOI:10.1007/bf00197367')

#Get article metadata by PubMed ID (PMID)
my.data <- epmc_search(query = 'EXT_ID:22246381')

#Get only PLOS Genetics article with EMBL database references
my.data <- epmc_search(query = 'ISSN:1553-7404 HAS_EMBL:y')
#Limit search to 250 PLOS Genetics articles
my.data <- epmc_search(query = 'ISSN:1553-7404', limit = 250)

# include mesh and uniprot synonyms in search
my.data <- epmc_search(query = 'aspirin', synonym = TRUE)

# print number of records found
attr(my.data, "hit_count")


## End(Not run)