Revision 3b318773f96eb74f0d8f7c9dd3a699416186a48d authored by R. Kyle Bocinsky on 26 September 2016, 21:27:04 UTC, committed by cran-robot on 26 September 2016, 21:27:04 UTC
1 parent e0c523b
download_data.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UTILITY_FUNCTIONS.R
\name{download_data}
\alias{download_data}
\title{Use curl to download a file.}
\usage{
download_data(url, destdir = getwd(), timestamping = T, nc = F,
verbose = F, progress = F)
}
\arguments{
\item{url}{The location of a file.}
\item{destdir}{Where the file should be downloaded to.}
\item{timestamping}{Should only newer files be downloaded?}
\item{nc}{Should files of the same type not be clobbered?}
\item{verbose}{Should cURL output be shown?}
\item{progress}{Should a progress bar be shown with cURL output?}
}
\value{
A logical vector of the same length as x.
}
\description{
This function makes it easy to implement timestamping and no-clobber of files.
}
\details{
If both \code{timestamping} and \code{nc} are TRUE, nc behavior trumps timestamping.
}
\keyword{internal}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...