download_data: Use curl to download a file.

Description Usage Arguments Details Value

Description

This function makes it easy to implement timestamping and no-clobber of files.

Usage

1
2
download_data(url, destdir = getwd(), timestamping = T, nc = F,
  verbose = F, progress = F)

Arguments

url

The location of a file.

destdir

Where the file should be downloaded to.

timestamping

Should only newer files be downloaded?

nc

Should files of the same type not be clobbered?

verbose

Should cURL output be shown?

progress

Should a progress bar be shown with cURL output?

Details

If both timestamping and nc are TRUE, nc behavior trumps timestamping.

Value

A logical vector of the same length as x.



Search within the FedData package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.