fd_inventory_spain {forestdata} | R Documentation |
Spanish Forest Inventory
Description
Download the tables and SIG data from the Spanish Forest Inventory
Usage
fd_inventory_spain(
province,
ifn = 4,
database = "field",
process_level = 0,
path_metadata = NULL,
quiet = FALSE
)
Arguments
province |
a character string of length 1 with the name of a Spanish province |
ifn |
number of Spanish Forest Inventory (from 2 to 4) |
database |
the name of the database (either 'field' or 'gis') |
process_level |
integer. Used when |
path_metadata |
a character string of length 1 with the path to store the
metadata of the selected database. The default |
quiet |
if |
Details
The IFN2 doesn't have 'gis' data for Asturias, Cantabria and Navarra.
Value
A list
with the tables
References
See Also
metadata_forestdata for a list of possible species
Examples
## Not run:
library(odbc)
if ("Microsoft Access Driver (*.mdb, *.accdb)" %in% odbc::odbcListDrivers()$name) {
# Download MFE50 for Canary Islands
canarias_ifn4_lst <- fd_inventory_spain("Canarias")
} else {
message("Skipping example as <Microsoft Access Driver (*.mdb, *.accdb)> is not available.")
}
## End(Not run)
[Package forestdata version 0.3.1 Index]