Skip to contents

Downloads the EU Forest Species database, an European database of more than 500,000 forest tree species occurrences

Usage

fd_occ_euforest(species = NULL, country = NULL, spatial = FALSE, quiet = FALSE)

Arguments

species

a character vector with the name of one or more tree species

country

a character vector with either ISO2 codes, ISO3 codes or full country names (not mixed) to filter out the data

spatial

logical. Whether to retrieve a tibble or a sf object

quiet

if TRUE, suppress any message or progress bar

Value

a tibble or a sf object

References

A high resolution pan-European tree occurrence dataset doi:10.6084/m9.figshare.c.3288407.v1

See also

metadata_forestdata eutrees4f_species for a list of possible species

Examples

# \donttest{
## Download full database as tibble
euforest_tbl <- fd_occ_euforest()
#>  Downloading data...
#>  Downloaded [2.4s]
#> 
#>  Preparing data...
#>  Prepared [9ms]
#> 
#>  Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.3288407.v1>

## Download full database as spatial
euforest_sf <- fd_occ_euforest(spatial = TRUE)
#>  Downloading data...
#>  Downloaded [6ms]
#> 
#>  Preparing data...
#>  Prepared [8ms]
#> 
#>  Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.3288407.v1>

## Download data for Abies alba for Czechia and Germany
euforest_cz_ge_sf <- fd_occ_euforest(species = "Abies alba", country = c("Czechia", "Germany"))
#>  Downloading data...
#>  Downloaded [6ms]
#> 
#>  Preparing data...
#>  Prepared [8ms]
#> 
#>  Cite this dataset using <https://doi.org/10.6084/m9.figshare.c.3288407.v1>
# }