Download data from NCBI databases

Usage

entrez_fetch(db, ids = "", file_format, ...)

Arguments

db
character Name of the database to use
ids
integer Unique ID(s) to get data from (optional)
file_format
character Format in which to get data (eg, fasta, xml...)
...
character Additional terms to add to the request

Value

chracter string containing the file created

Description

Download data from NCBI databases

Examples

snail_search <- entrez_search("nuccore", "Gastropoda[Organism]") records <- entrez_fetch("nuccore", snail_search$ids[1:2], "fasta")