View source: R/forest-inventory.R
fd_inventory_spain | R Documentation |
Download the tables and SIG data from the Spanish Forest Inventory
fd_inventory_spain(
province,
ifn = 4,
database = "field",
process_level = 0,
path_metadata = NULL,
quiet = FALSE
)
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 |
The IFN2 doesn't have 'gis' data for Asturias, Cantabria and Navarra.
A list
with the tables
metadata_forestdata for a list of possible species
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.