Open camiplata opened 2 years ago
Can you expand a bit more please? Perhaps with a link to the equivalent GBIF.org page if that makes sense?
Sorry for the lack of detail, I mean all if it, but most importatly for our users:
It is already possible to add dataset search. I've added it as an example to your site https://github.com/gbif/hp-colombian-biodiversity/commit/3ef37fc55c71adba3cb15cd84861e1ed7e55d79d https://hp-colombian-biodiversity.gbif-staging.org/dataset/search?type=CHECKLIST
But since the dataset page itself isn't ready you are redirected to GBIF.org for details
Great! I was redirecting directly to https://www.gbif.org/dataset/search?type=CHECKLIST&publishing_country=CO so this option is a step further. Thanks
It currently shows all datasets from CO, but you could limit it to only show checklists (instead of just a preset filter). You would just need to add type: 'CHECKLIST'
to the the rootFilter
https://github.com/gbif/hp-colombian-biodiversity/commit/3ef37fc55c71adba3cb15cd84861e1ed7e55d79d#diff-e27d679151a5d301f02ee0f620edf1dcc7fcccf15e474ecec8af9b8022aa8fa6R49
As for the dataset detail pages, I can look more at it. It isn't far from being done, but have been prioritised lately. You can see the current state at https://react-components.gbif-staging.org/iframe.html?id=entities-dataset-page--example&args=&viewMode=story
@camiplata since this has your interest, then I have a related question that is part of what needs to be considered before more is happening.
You now list datasets published from Colombia at https://biodiversidad.co/dataset/search?type=CHECKLIST And when we add Dataset detail pages, I assume the search should take you to the detail page.
But you also include occurrences from many other datasets that are not published by Colombia. about 1 million records from US datasets for example. E.g. https://www.gbif.org/dataset/7a25f7aa-03fb-4322-aaeb-66719e1a9527
What happens when you click that dataset title on the occurrence detail page? Are you then taken to a dataset page (on your site) that aren't part of the datasets you can search for in the dataset UI (since that is CO published datasets only)? Or does it go to GBIF.org. Neither of those solutions is really nice I find.
I tend towards showing the dataset on your website, even if it isn't listed in the dataset scope. But I'm honestly not sure what I prefer.
I think i should be shown on biodiversidad.co as the scope of the site is both data pubilshed from Colombia and about Colombia, before having the hosted portal we made repatriated data also visible so this i think is the most desirable behavior.
current scope:
{ "key": "publishingCountry", "type": "equals", "value": "CO" }, { "type": "and", "predicates": [ { "key": "country", "type": "equals", "value": "CO" },
That is not possible with our current APIs I'm afraid. But I understand why it would make sense for you. The API do not allow ORs, but even if it did there is no support for country search I think. I notice that there is such a parameter, but I do not see it working.
https://api.gbif.org/v1/dataset/search?country=CO @marcos-lg is the country filter functional. How is the country field populated?
@MortenHofft I'm confused because this scope is actually working on biodiversidad. co: https://github.com/gbif/hp-colombian-biodiversity/issues/25
Hi @camiplata Reading this it looks like I completely forgot to explain what I mean or perhaps answering something else. Sorry about that!
Reading this anew this is how I understand it:
When clicking a dataset title on an occurrence - then when clicking the dataset title LACM Vertebrate Collection
then you would like to show that dataset on your site (instead of linking to GBIF.org). That makes sense. Thank you.
The challenge with that is that it isn't included in the dataset search. That might be confusing to users. That they can only find the dataset by by using the occurrence search, not the dataset search. And our APIs do not really allow us to change that since we cannot search datasets by country of coverage.
I will give it some thought, variations over this issue come up frequently I find.
Hi @MortenHofft, coming back to this issue after the hosted portal meeting and wrapping up the main ideas and needs
Short term we would like to have a dataset page for checklists such as: https://www.gbif.org/dataset/5c0b1470-8884-4914-ae76-70a7c81d6d08
For mid/long term, we would like to be able to include in our portal Checklist about Colombia (but not published by Colombia) such as https://www.gbif.org/dataset/168568e7-eb5f-4ef6-8c59-f73ceaf57e91, I know the API for now does not allow such inclusion but maybe is something can be worked on the future.
Our users have been asking for checklists on the portal. I know this will be eventually implemented, is there is an estimated time period of the year for this?