baf_download | R Documentation |
Download a file
baf_download(url, path, overwrite = FALSE, quiet = FALSE)
url |
a URL |
path |
a file path |
overwrite |
should the file at path be overwritten if it already exists? Default is FALSE. |
quiet |
should output and progress bar be suppressed? |
a path to the downloaded file, invisibly
tf <- tempfile(fileext = '.zip')
ex <- 'https://www2.census.gov/geo/docs/maps-data/data/baf2020/BlockAssign_ST01_AL.zip'
baf_download(url = ex, path = tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.