gbif / portal-feedback

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

Access agregated species data by country #5553

Closed gbif-portal closed 1 week ago

gbif-portal commented 1 week ago

Access agregated species data by country

Dear GBIF Development Team,

I hope this message finds you well. I am currently working on a project that involves the EcoCrop database, which contains approximately 1,600 plant species. My objective is to obtain the distribution of occurrences for these plants by country, using their scientific names.

At present, I have identified a two-step process to achieve this: first, I retrieve the speciesKey using the API endpoint species/match, and then I iterate over the occurrence/search API with a limit set to 300, adjusting the offset accordingly to extract the country data for each occurrence.

However, I would like to know if there is a more efficient method to access this data, as it is available through the statistics tab in the interface. Additionally, could you please advise if I need to implement a pause between each request to avoid overwhelming the API?

Thank you very much for your assistance. I look forward to your guidance on this matter.

Best regards,


User: See in registry - Send email System: Chrome 129.0.0 / Mac OS X 10.15.7 Referer: https://www.gbif.org/fr/occurrence/charts?taxon_key=2978751 Window size: width 1920 - height 968 API log&_a=(columns:!(_source),filters:!(),index:'3390a910-fcda-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) Site log&_a=(columns:!(_source),filters:!(),index:'5c73f360-fce3-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) System health at time of feedback: OPERATIONAL

jhnwllr commented 1 week ago

(responding via helpdesk)