powered by
This function takes a query and searches an Entrez database for references using NCBI's E-Utilities, returning the results in a BibEntry object.
ReadPubMed(query, database = "PubMed", ...)
an object of class BibEntry.
string; search term.
string; the Entrez database to search.
additional parameters to use for the search. See the Details.
Optional additional parameters to pass to the server include
retstart - index of the first retrieved ID that should be included in the results.
retstart
retmax - maximum number of IDs the server will return (default 20).
retmax
field - limits the query to search only the specified field (e.g. “title”).
field
datetype - type of date to use when limiting search by dates. E.g. “mdat” for modification date or “pdat” for publication date.
datetype
reldate - integer; only items that have (datetype) date values within reldate days of the current date will be returned.
reldate
mindate, maxdate - date ranges to restrict search results. Possible formats are “YYYY”, “YYYY/MM”, and “YYYY/MM/DD”.
mindate
maxdate
https://www.ncbi.nlm.nih.gov/books/NBK25499/#chapter4.ESearch
Other pubmed: GetPubMedByID(), GetPubMedRelated(), LookupPubMedID(), ReadCrossRef()
GetPubMedByID()
GetPubMedRelated()
LookupPubMedID()
ReadCrossRef()
if (interactive() && !httr::http_error("https://eutils.ncbi.nlm.nih.gov/")) ReadPubMed(query = "raymond carroll measurement error", retmax = 5, mindate = 1990)
Run the code above in your browser using DataLab