gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
9 stars 6 forks source link

add projectID is a filter for data #282

Closed sformel-usgs closed 4 months ago

sformel-usgs commented 4 months ago

TL;DR request to add projectID as a filter for the data in the hosted portals.

The dashboard feature that was shared at today's hosted portal meeting is very cool! We discussed how it would be useful for users to create dashboards that summarize custom groups of datasets. For example, a project might include multiple datasets that are published by different publishers, IPTs, etc. It would be very useful for a naive GBIF user (e.g. upper management in an institution) to be able to quickly search by projectID. Or, for a manager to create a dashboard that automatically pulls in all relevant datasets, without the burden of finding all the dataseyKeys first.

This is an equivalent query: https://www.gbif.org/occurrence/search?advanced=1&project_id=NCRMP And OBIS has landing pages that are approximately what I'm looking to create: https://obis.org/institute/23174

MortenHofft commented 4 months ago

There was more interest in this than I had guessed (I had added the option as an experiment mostly as it seemed useful). I'll make some examples of what can be done. I believe above example is already covered.

MortenHofft commented 4 months ago

An example page on the hp-bison repo using projectId as the filter https://hp-bison.gbif-staging.org/examples/dashboard/ https://github.com/gbif/hp-bison/blob/ed97cd6c271b0b9dace6f039b6d3eac0e6762bc6/examples/dashboard.md

Is this what you mean?

sformel-usgs commented 4 months ago

Yes, this is one version of what I was looking for. But I am also interested in allowing users to build their own dashboards (like you demonstrated) with projectID as one of the filters. Is that possible?

MortenHofft commented 4 months ago

I haven't added projectId as a filter in the UI, but that should be a simple addition

MortenHofft commented 4 months ago

project id is now added as a filter and as a chart type. deploying to staging now. Will be in prod later this week I expect

sformel-usgs commented 4 months ago

Thanks for getting that done so quickly! Looking forward to using it.

MortenHofft commented 4 months ago

Available in your staging env now . I'm closing this issue, feel free to create a new one if needed.

It will stay in staging for a few weeks before going to production. It would be good to have you and others test it a bit more before. I also have some small things that I would like to change first.