download_pt: Download PubTator data via ftp.

Description Usage Arguments Value Examples

View source: R/download_pt.R

Description

Download PubTator data via ftp.

Usage

1
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

1
2
3
4
# Use the full path. The files are large. Writing somewhere other than the
# temp directory is recommended.
download_path <- tempdir()
download_pt(dowload_path)

pubtatordb documentation built on Dec. 1, 2019, 1:17 a.m.