
Download the especified inventory
download_inventory.RdDownload and unzip the inventory data files at the desired destination
Usage
download_inventory(
inventory = c("FIA", "FFI", "IFN"),
destination = ".",
states = NULL,
.verbose = TRUE
)Details
This function tries to download the available files for the especified inventory from the official repositories of the inventory. It can fail as can be connection problems or files missing temporary (This usually happens for the version 4 of the IFN)
Warning
IFN version 4 data is not stable. Links change and data formats and content can also change. No warning is given of these changes beforehand, so this function can sometimes not retrieve all available data for IFN version 4.
Examples
# \donttest{
if (FALSE) { # \dontrun{
library(forestables)
download_inventory(ffi, destination = tempdir())
} # }
# }