2022-10-26

Data preparation

Data preparation

  • Taxonomic cleaning
  • Downloading presences
  • Filtering of presences

Taxonomic cleaning

  • Started with 103 species
  • Passed it through the taxize r package to get the GBIF closest match
  • Filtered out species with lower than 0.9 in a match
  • Ended up with 101 species to work with

Downloading presences

  • Used rgbif package to download presences
  • Max 10.000 species that had coordinates

Filtering of presences

With CoordinateCleaner r package:

  • Presences from 1960 onwards
  • Eliminated occurences in urban polygons (To avoid cultivars)
  • Eliminated prescences in Country, county or regions centroids (Known way to create coordinates of occurrences where there are no known coordinates)
  • Eliminated equal lat and long
  • Eliminated environmental and geografical outliers

With spThin

  • Made sure that presences are at least 5 kms form each other (Spatial Autocorrelation)

Species Modeling

Speices projection

Consensus