R/downloadMapBiomas.R

Defines functions downloadMapBiomas

#' @importFrom utils download.file unzip

downloadMapBiomas <- function() {
  download.file("https://zenodo.org/record/2655065/files/mapbiomas_lu_historical_data_v3.zip", 
                destfile = "mapbiomas.zip")
  unzip("mapbiomas.zip")
  unlink("mapbiomas.zip")
}
pik-piam/mrplayground documentation built on June 2, 2021, 9:25 p.m.