RISmed (version 2.1.7)

EUtilsQuery: 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

Value

String URL to access NCBI E-utility.

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 http://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.

References

Query help:

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

MEDLINE/PubMed Field Descriptions

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

Examples

Run this code
# NOT RUN {
# PUBMED QUERY
EUtilsQuery("myeloma[ti] jones[au]")

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


# }

Run the code above in your browser using DataLab