gbif / hp-grscicoll

https://grscicoll.hp.gbif-staging.org
2 stars 3 forks source link

Missing grscicoll filters #16

Closed MortenHofft closed 1 year ago

MortenHofft commented 1 year ago

@ManonGros could you please review what filters we have for institutions and collections in the UI and tell me which you believe should be added? Machine tags for example is something that we probably do not want to expose. But what about content types - I think is somewhat dependent on how that field is used in practice. If only 1 percent use it and it is complete nonsense, then we should think twice before adding it one could argue.

And secondly which should be the default visible and in which order?

ManonGros commented 1 year ago

Thanks Morten! Here is what I propose.

For institutions: Field API parameter visibility
Text search q default filter 1
Code code default filter 2
Country or area country default filter 3
Number of Specimens numberSpecimens default filter 4
Specimens in GBIF occurrenceCount default filter 5
Name name Under "More" only
City city Under "More" only
Alternative code alternativeCode Under "More" only
~Identifier~ ~identifier~ ~Under "More" only~
Active active Under "More" only
Type type Under "More" only - I think it would be useful as default filter but only a few hundreds institutions are tagged
Discipline discipline Under "more" only - We might change the vocabulary we use for that one but I think it should be available under "More"
Identifier type identifierType I am not sure, I think it is useful mostly for me so I wouldn't put it on the website for now
Institutional governance institutionalGovernance I think it might be important for US federal agencies, not sure how useful it is for other people, I wouldn't put it on the website for now
For collections: Field API parameter visibility
Text search q default filter 1
Institution institution default fiter 2
Code code default filter 3
Country or area country default filter 4
Number of Specimens numberSpecimens default filter 5
Specimens in GBIF occurrenceCount default filter 6
Personal Collection personalCollection Under "More" only
Name name Under "More" only
City city Under "More" only
Alternative code alternativeCode Under "More" only
~Identifier~ ~identifier~ ~Under "More" only~
Active active Under "More" only
Content type contentType Under "More" only - not sure about this since so few records have the info but maybe we could try?
Preservation type preservationType Under "More" only - same as the content type
ManonGros commented 1 year ago

@MortenHofft I have assigned you the issue for implementation. I put it on the milestone for making the website public (mid-october) but if this isn't realistic, let me know.

MortenHofft commented 1 year ago

@ManonGros They have been added. But could you please provide me with a description for each of the filters that I can add as the about text for each filter?

ManonGros commented 1 year ago

Thanks Morten! This is really cool!

I think you are right, the identifier filter is confusing. I agree that we should remove it.

Here are some descriptions for the different filters:

Field API parameter description
Text search q Free text search across several fields.
Code code The primary code that identifies the institution as a whole. If you get no result, try the Alternative code filter.
Country or area country Country in the institution's address.
Number of Specimens numberSpecimens Number of specimens hosted by the institution.
Specimens in GBIF occurrenceCount Number of specimen occurrences published on GBIF and linked to the institution entry.
Name name The name of the institution.
City city City in the institution's address.
Alternative code alternativeCode Any additional code that is already in use for the same institution in other contexts (for example, historical codes).
Active active Whether the entry correspond to an active institution or a historical listing for an institution that no longer exists.
Type type Institution type (Museum, Herbarium, etc.)
Discipline discipline The research disciplines the the institution houses.
For collections: Field API parameter description
Text search q Free text search across several fields.
Institution institution The name of institution hosting the collection.
Code code The primary code that identifies the collection. If you get no result, try the Alternative code filter.
Country or area country Country where the collection is hosted.
Number of Specimens numberSpecimens Number of specimens in the collection.
Specimens in GBIF occurrenceCount Number of specimen occurrences published on GBIF and linked to the collection entry.
Personal Collection personalCollection Selects private or personal collections.
Name name The name of the collection.
City city City where the collection is hosted.
Alternative code alternativeCode Any additional code that is already in use for the same collection in other contexts (for example, historical codes).
Active active Whether the entry correspond to an active collection or a historical listing for an collection that no longer exists.
Content type contentType The type of objects available in the collection.
Preservation type preservationType The method used to preserve the objects available in the collection.
MortenHofft commented 1 year ago

I've updated the texts, but some of those that are almost the same for institution and collection I made into one. That might not be ideal, but I think I had a bug that requires fixing before I can differentiate. I will look into that.

E.g. instead of Alternative code: Any additional code that is already in use for the same collection in other contexts (for example, historical codes). I write Alternative code: Any additional code that is already in use in other contexts (for example, historical codes).

ManonGros commented 1 year ago

Thanks Morten!