View source: R/fct_download_dpc.R
download_dpc | R Documentation |
For each possible level (i.e., national = italia, regional = regioni, provincial = province) download data from the official Italian **Dipartimento della Protezione Civile** GitHub repository.
download_dpc(
level = c("italia", "regioni", "province"),
dir = ".",
file_name = NULL
)
level |
(chr) one of "italia", "regioni", "province" |
dir |
(chr, default = ".") path of the directory where the downloaded file is saved |
file_name |
(chr, default = "<level>.csv") downloaded file filename |
An (invisible) logical, 'TRUE' for success and 'FALSE' for failure.
## Not run:
download_dpc("italia")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.