gbif / portal-feedback

User feedback for the GBIF API, website and published data. You can ask questions here. 🗨❓
28 stars 16 forks source link

numOccurrences seemingly always zero for rank=SPECIES in species search #5284

Open jhnwllr opened 3 months ago

jhnwllr commented 3 months ago

numOccurrences always zero for rank=SPECIES in species search :

https://api.gbif.org/v1/species/search?rank=SPECIES&highertaxon_key=212

    {
      "key": 2473325,
      "nameKey": 4876726,
      "datasetKey": "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
      "constituentKey": "7ddf754f-d193-4cc9-b351-99906754a03b",
      "nubKey": 2473325,
      "parentKey": 2473324,
      "parent": "Guttera",
      "basionymKey": 12292958,
      "basionym": "Numida pucherani Hartlaub, 1861",
      "kingdom": "Animalia",
      "phylum": "Chordata",
      "order": "Galliformes",
      "family": "Numididae",
      "genus": "Guttera",
      "species": "Guttera pucherani",
      "kingdomKey": 1,
      "phylumKey": 44,
      "classKey": 212,
      "orderKey": 723,
      "familyKey": 5260,
      "genusKey": 2473324,
      "speciesKey": 2473325,
      "scientificName": "Guttera pucherani (Hartlaub, 1861)",
      "canonicalName": "Guttera pucherani",
      "authorship": "(Hartlaub, 1861) ",
      "nameType": "SCIENTIFIC",
      "taxonomicStatus": "ACCEPTED",
      "rank": "SPECIES",
      "origin": "SOURCE",
      "numDescendants": 5,
      **"numOccurrences": 0,**
      "extinct": false,
      "habitats": [

Even when taxonKey has occurrences : https://www.gbif.org/occurrence/search?taxon_key=2473325&occurrence_status=present