View source: R/download_medline.R
download_medline | R Documentation |
This function allows to download MEDLINE format articles from PubMed database. The function inputs a keyword and outputs a .txt file containing the articles. The search results are returned as a character vector of MEDLINE formatted articles.
download_medline(keyword1, keyword2 = "gene")
keyword1 |
A character string indicating the keyword to be used for searching in PubMed. |
keyword2 |
The second keyword to search for. |
A .txt file containing the articles in MEDLINE format
medline_text <- download_medline("cancer", "genetics")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.