Downloads the NIFC (National Interagency Fire Center) wildfire perimeters
dataset from figshare and unzips it to a local directory. If the ZIP
already exists and overwrite = FALSE, no network call is made.
Usage
get_nifc(
directory = getwd(),
overwrite = FALSE,
timeout = 3600,
verbose = TRUE,
dry_run = FALSE
)Arguments
- directory
character(1)directory where the ZIP file and unzipped contents are stored. Defaults to the current working directory.- overwrite
logical(1)re-download whenTRUE; defaults toFALSE.- timeout
numeric(1)download timeout in seconds. Defaults to3600(one hour).- verbose
logical(1)print progress messages.- dry_run
logical(1)ifTRUE, do not download the file but instead return the path where it would be saved. Defaults toFALSE.