pubtatordb (version 0.1.3)

download_pt: Download PubTator data via ftp.

Description

Download PubTator data via ftp.

Usage

download_pt(pubtator_parent_path, ...)

Arguments

pubtator_parent_path

The path to the directory where the PubTator data folder will be created.

...

Additional arguments to dir.create and download.file.

Value

The path to the newly created directory. This can be passed to other functions as the pt_path argument.

Examples

Run this code
# NOT RUN {
# Use the full path. The files are large. Writing somewhere other than the
# temp directory is recommended.
download_path <- tempdir()
download_pt(dowload_path)
# }

Run the code above in your browser using DataCamp Workspace