https://github.com/cran/FedData
Raw File
Tip revision: e37c1f9a929436d15ba90a6af2bb8096e33eb13d authored by R. Kyle Bocinsky on 23 September 2015, 02:45:49 UTC
version 2.0.1
Tip revision: e37c1f9
curl_download.Rd
% Generated by roxygen2 (4.1.1): 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