R/prepFireData.R
prepFireCanada.Rd
Downloads data from CWFIS Datamart at http://cwfis.cfs.nrcan.gc.ca/datamart.
This runs prepInputs
internally, so use can pass studyArea
etc.
prepFireCanada(
year,
type = c("NBAC", "Polygon", "Point"),
urlBase = "http://cwfis.cfs.nrcan.gc.ca/downloads/nbac/",
...
)
Numeric, length 1. Which year, from 1986 to 2018 (currently) to download
Either "NBAC", "Polygon" or "Point" to get the National Burn Area Composite, the Polygon or the Point datasets.
The url of the directory where the NBAC are stored. Default is the currently known url. If this url becomes stale, please notify the predictive ecology team.
Additional arguments.
A SpatialPolygonsDataFrame
plus several downloaded files, including
the .zip
archive and the extracted files.
Because it is running prepInputs
, checksumming is occurring too.