EUtilsQuery {RISmed}R Documentation

Construct URL to make NCBI EUtils query

Description

Construct a URL query for any database of the National Center for Biotechnology Information (NCBI).

Usage

EUtilsQuery(query,type="esearch",db="pubmed",...)

Arguments

query

string query as given in NCBI search box

type

string indicating type of NCBI Eutility

db

string indicating the NCBI database used in query

...

additional limits added to query

Details

Possible E-utilities to supply to type are einfo, esearch, epost, esummary, elink, egquery, espell.

The database name supplied to db can be any valid Entrez database, such as pubmed, protein, nlm, etc.

For further details on available E-utilities and databases visit https://www.ncbi.nlm.nih.gov/books/NBK25499/.

Limits that can be supplied to ... to refine the query include:

reldate Limits search results to be within the specified number of days from current date.
mindate Minimum of date range for search results (examples: 2002; 2002/01/01); must be supplied with maxdate.
maxdate Maximum of date range for search results; must be supplied with mindate.
datetype Which date field to use in setting date limits. Possible choices are edat, Entrez date, which is the date article was added to Entez, or ppdt, the article publication date. Default is edat.
retstart Where in the sequence of returned results to begin retrieving, default is 0.
retmax Maximum number of records to retrieve, default is 1000.

Value

String URL to access NCBI E-utility.

Author(s)

Stephanie Kovalchik s.a.kovalchik@gmail.com

References

Query help:

https://www.ncbi.nlm.nih.gov/books/NBK3827/

MEDLINE/PubMed Field Descriptions

https://www.nlm.nih.gov/bsd/mms/medlineelements.html

Examples


# PUBMED QUERY
EUtilsQuery("myeloma[ti] jones[au]")

# RESTRICT TO RECORDS WITHIN LAST 30 days
EUtilsQuery("myeloma[ti] jones[au]",reldat=30)



[Package RISmed version 2.3.0 Index]