- pubmed_query_string
String (character-vector of length 1): this is the string
used for querying PubMed (the standard PubMed Query synthax applies).
- dest_dir
String (character-vector of length 1): this string corresponds to the name
of the existing folder where files will be saved. Existing files will be overwritten.
If NULL, the current working directory will be used.
- dest_file_prefix
String (character-vector of length 1): this string is used as
prefix for the files that are written locally.
- format
String (character-vector of length 1): data will be requested from Entrez
in this format. Acceptable values are: c("medline","uilist","abstract","asn.1", "xml").
When format != "xml", data will be saved as text files (txt).
- api_key
String (character vector of length 1): user-specific API key to increase
the limit of queries per second. You can obtain your key from NCBI.
- batch_size
Integer (1 < batch_size < 5000): maximum number of records
to be saved in a single xml or txt file.
- res_cn
Integer (> 0): numeric index of the data batch to start downloading from.
This parameter is useful to resume an incomplete download job after a system crash.
- encoding
The encoding of an input/output connection can be specified by name
(for example, "ASCII", or "UTF-8", in the same way as it would be given to the
function base::iconv(). See iconv() help page for how to find out more about encodings
that can be used on your platform. Here, we recommend using "UTF-8".