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
1 | dl_extract_file(furl, outpath, outdir, extr = TRUE, remove = FALSE)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.