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

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.