getPubMed | R Documentation |
This function takes as input a file produced via PubMed in PubMed format and outputs a data frame with the id equal to the PMID, text equal to the abstract, date, title, and author for each publication in the file.
getPubMed(file)
file |
path to the PubMed file |
A data table with a row for each publication holding the id equal to the PMID, text equal to the abstract, date, title, and author for that publication.
#Go to Pubmed and enter search criteria, save the result to PubMed format.
#If the file is called pubmed_result.txt and located in the current
#directory:
#PM=getPubMed("pubmed_result.txt")
#Will load the data from the search into a data table called PM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.