bmrb_download {BMRBr}R Documentation

bmrb_download

Description

Main function that download the BMRB file from www.bmrb.wisc.edu repo. It will download file in nmr-star3.1 format.

Usage

bmrb_download(id_list, output_dir,
  base_url = "http://www.bmrb.wisc.edu/ftp/pub/bmrb/entry_lists/nmr-star3.1",
  verbose = TRUE)

Arguments

id_list

(Required) A list of file ids that are corresponding to the requested files.

output_dir

(Required) Location were downloaded file will be saved.

base_url

Default location is http://www.bmrb.wisc.edu/ftp/pub/bmrb/entry_lists/nmr-star3.1/.

verbose

Boolean parameter. If set to be "True", the downloader will output detailed results in the console.

Value

Save file in the output_dir location

Examples

download_dir = tempdir()
bmrb_download(965, download_dir)

[Package BMRBr version 0.2.0 Index]