download_pt {pubtatordb} | R Documentation |
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
# Use the full path. The files are large. Writing somewhere other than the
# temp directory is recommended.
download_path <- tempdir()
download_pt(dowload_path)
[Package pubtatordb version 0.1.4 Index]