https://github.com/cran/FedData
Raw File
Tip revision: 41ad97869fc1f041281409d158f533b16b5f7a5d authored by R. Kyle Bocinsky on 20 January 2016, 09:12:15 UTC
version 2.0.3
Tip revision: 41ad978
curl_download.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UTILITY_FUNCTIONS.R
\name{curl_download}
\alias{curl_download}
\title{Use RCurl to download a file.}
\usage{
curl_download(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.
}

back to top