Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Search for taxa occurrences using the Global Biodiversity Information Facility (GBIF) Occurrences API
ResourceFunction["GBIFSearch"][query] gives a dataset with taxa occurrences of the specified query. | |
ResourceFunction["GBIFSearch"][query,prop] gives the property prop of the specified query. |
"Count" | total count of taxa occurrences of the specified query |
"Dataset" | dataset with taxa occurrences of the specified query |
MaxItems | 300 | number of occurrences to return |
"FirstItem" | 0 | offset of the occurrences to return |
"OccurrenceGeoRange" | {{-90, 90}, {-180, 180}} | geographic range of the occurrences |
"OccurrenceDateRange" | {DateObject[{1700}],Today} | date range of the occurrences |
Obtain the total count of occurrences in GBIF:
In[1]:= | ![]() |
Out[1]= | ![]() |
Obtain the occurrences of a specific taxon:
In[2]:= | ![]() |
Out[2]= | ![]() |
Obtain occurrences of gray wolves observed near Yellowstone National Park during a certain period of time:
In[3]:= | ![]() |
Out[3]= | ![]() |
Obtain occurrences of gray wolves in Canada using "FirstItem" and MaxItems:
In[4]:= | ![]() |
Out[4]= | ![]() |
Obtain the total count of species occurrences in Yellowstone National Park:
In[5]:= | ![]() |
Out[5]= | ![]() |
Obtain the total count of species occurrences in Yellowstone National Park on a specific date:
In[6]:= | ![]() |
Out[6]= | ![]() |
Obtain all species occurrences in Yellowstone National Park on a specific date:
In[7]:= | ![]() |
Out[7]= | ![]() |
Obtain occurrences of a certain genus:
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
When the taxon key is not found GBIFSearch gives a message and aborts further evaluation:
In[11]:= | ![]() |
Out[11]= | ![]() |
Import sightings of gibbons in Borneo:
In[12]:= | ![]() |
Out[12]= | ![]() |
Define some plotting utilities:
In[13]:= | ![]() |
In[14]:= | ![]() |
In[15]:= | ![]() |
Create a geographic distribution map of endangered gibbon species in Borneo island:
In[16]:= | ![]() |
Out[16]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License