Skip to contents

Download SDP Datasets Locally

Usage

download_data(
  urls,
  output_dir,
  return_status = TRUE,
  resume = FALSE,
  overwrite = FALSE,
  ...
)

Arguments

urls

character vector of URLs for files to download

output_dir

character vector of destination file paths or single path for output files.

return_status

logical. Should the function return a data frame with results from the download session?

resume

logical. Should the function resume partial downloads?

overwrite

logical. Should the function overwrite existing files?

...

arguments passed to curl::multi_download()