Learn R Programming

forestdata (version 0.2.1)

fd_inventory_spain: Spanish Forest Inventory

Description

Download the tables and SIG data from the Spanish Forest Inventory

Usage

fd_inventory_spain(
  province,
  ifn = 4,
  database = "field",
  path_metadata = NULL,
  quiet = FALSE
)

Value

A list with the tables

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')

path_metadata

a character string of length 1 with the path to store the metadata of the selected database. The default path_metadata = NULL does not download the metadata

quiet

if TRUE, suppress any message or progress bar

Details

The IFN2 doesn't have 'gis' data for Asturias, Cantabria and Navarra.

In the future a function to process the data will be added.

References

https://www.miteco.gob.es/es/biodiversidad/temas/inventarios-nacionales/inventario-forestal-nacional.html

See Also

metadata_forestdata for a list of possible species

Examples

Run this code
# \donttest{
# Download MFE50 for Canary Islands
canarias_ifn4_lst <- fd_inventory_spain("Canarias")

cantabria_ifn3_gis_lst <- fd_inventory_spain("cantabria", ifn = 3, database = "gis")
# }

Run the code above in your browser using DataLab