Different results between rgbif search and web interface search?

I apologize for my lack of experience, and I know I must be doing something wrong, but I can’t tell what. If I search for Vitis gmelinii in Spain through the web interface I obtain 3059 records (https://doi.org/10.15468/dl.ze7u2g).

And All must apply

  • Country or area Spain

  • Occurrence status present

  • Scientific name Vitis gmelinii Buttler

However, when I do the same using a script with the rgbif package, I get zero records (https://doi.org/10.15468/dl.k2rddj).

And All must apply

  • filterNames.scientificName

    1. Vitis gmelinii Buttler
  • Country or area Spain

I find the same problem when I search for Narcissus pseudonarcissus subsp. pseudonarcissus L., Rosa inodora Fr., Rubus sampaioanus Sudre, Nitrosalsola vermiculata (L.) Theodorova, and Trigonella esculenta Willd., in Spain. I would appreciate any help. Thank you in advance.

The web interface automatically translates the Scientific name into a unique taxon key as you can see in the URL:

https://www.gbif.org/occurrence/search?country=ES&occurrence_status=present&taxon_key=9484186

I would recommend using TAXON_KEY in your rgbif queries. You can use name_backbone() to find the proper keys, e.g.

name_backbone(“Vitis gmelinii Buttler”)

Hope this helps!

1 Like

Thanks, I will certainly try this approach.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.