download_medline: Download MEDLINE format articles from PubMed

View source: R/download_medline.R

download_medlineR Documentation

Download MEDLINE format articles from PubMed

Description

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.

Usage

download_medline(keyword1, keyword2 = "gene")

Arguments

keyword1

A character string indicating the keyword to be used for searching in PubMed.

keyword2

The second keyword to search for.

Value

A .txt file containing the articles in MEDLINE format

Examples

medline_text <- download_medline("cancer", "genetics")


Erickcufe/textCells documentation built on May 20, 2023, 11:45 p.m.