Download an HDX resource into a specific folder
download_resource( resource, folder = NULL, filename = NULL, quiet = FALSE, force = FALSE, ... )
| resource | Resource, an HDX resource |
|---|---|
| folder | character, path of the directory where you will store the data |
| filename | (character), name of the file you will download |
| quiet | (logical), no progress bar from download (default = |
| force | (logical) force download (default = |
| ... | extra paramaters |
Resource
if (FALSE) { #Setting the config to use HDX default server res <- read_resource("98aa1742-b5d3-40c3-94c6-01e31ded6e84") download_resource(res, folder = "/tmp") }