dl_extract_file: Download file from specified url into specified path. If the...

Description Usage Arguments

View source: R/etl-utils.R

Description

Download file from specified url into specified path. If the directory of the destination path is not specified then the function will create the directory. Also gives the user the option to extract the contents of the downloaded file

Usage

1
dl_extract_file(furl, outpath, outdir, extr = TRUE, remove = FALSE)

Arguments

furl

(character) : URL for the required file download

outpath

(character) : Full destination path for the specified file download

extr

(logical) : TRUE (default) to extract contents of download else specify FALSE

remove

(logical) : FALSE (default) to remove the .zip file once it is extracted.


shamindras/backburner documentation built on Feb. 28, 2021, 12:20 a.m.