gbif / portal-feedback

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

Have a button to access occurrences associated with parentEvent #5036

Open gbif-portal opened 1 year ago

gbif-portal commented 1 year ago

Have a button to access occurrences associated with parentEvent

This is an idea originally sent to Helpdesk.

On the page of occurrences that have an event, there is a clickable link that selects all the occurrences associated with that event.

Could there be the same for occurrences associated with the same parentEvent?

For example: https://www.gbif-uat.org/occurrence/search?advanced=1&parent_event_id=KS:Doniphan%20Co._2.5%20km%20ENE%20Doniphan_July_2022


Github user: @ManonGros User: See in registry - Send email System: Safari 17.1.0 / Mac OS X 10.15.7 Referer: https://www.gbif.org/occurrence/4124722047 Window size: width 1602 - height 929 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 datasetKey: 9f094ddc-68f9-426b-91f2-4c6f34298b34 publishingOrgKey: e9f60bdb-217d-4b4e-a22a-2781321220a1

MortenHofft commented 1 year ago

It isn't a documented API option, but it seems to be working https://www.gbif-uat.org/occurrence/download/0000009-231009123748054

As such I can add it. But before doing so I would like to have it confirmed that it should be a part of the APIv1.

And a comment: just as with eventId it isn't clear to me what the users would expect. It isn't searching the full hierarchy, but only the values on that occurrence. Which is unlike other hierarchies like e.g. taxon and gadm. So:

Wouldn't return anything if you searched for eventId=event3 or parentEventId = event2

CecSve commented 9 months ago

@acbentley sorry for the late ping, but I think the above suggestion is not what you are requesting. Or at which level would you like to have occurrences? I would think you would want to be able to go from event4 occurrences to all occurrences in event1 and not the nearest parent only.

acbentley commented 9 months ago

@CecSve I am not sure about any hierarchy but our data only includes an eventID and parentEventID. We are looking for the same functionality that is found at the eventID level to be propagated to the parentEentID level on the occurrence page.

image