Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showing suggestions for possible results for a search query using undocumented API request #55

Open
ayushanand18 opened this issue Aug 6, 2022 · 2 comments
Labels

Comments

@ayushanand18
Copy link
Collaborator

Overview

Many functions inside pyobis package demand the user to provide exact matches of scientificname, taxonid, or datasetid. While some researchers who are particularly interested in an individual record but many of the researchers who are starting up with their project may not know the exact id or scientific name to query for.

Notes

OBIS Mapper utilizes some endpoints to do the exact thing - suggest id or scientific name based on a query term.

Questions

Should we include a function in occurrences module for searching a species via keyword like say a search_keyword(term="query-term-you'd-like-to-search-for")?

and a seperate function search_keyword(term="query-term-you'd-like-to-search-for") in dataset module for searching datasets by name?

@7yl4r
Copy link
Collaborator

7yl4r commented Aug 6, 2022

This is an interesting proposal. Taking a moment to imagine how it could work:

pyobis.occurrence(taxonid=pyobis.lookup_taxon('fish'))

It definitely looks appealing, but I think further efforts on data visualization and analysis should take priority over this.

@ayushanand18
Copy link
Collaborator Author

Noted, thanks! We can jump on it later after we complete analysis notebooks.

@7yl4r 7yl4r added the discussion needed open discussion. your input is needed! label Aug 9, 2022
@7yl4r 7yl4r changed the title showing suggestions for possible results for a search query showing suggestions for possible results for a search query using undocumented API request Aug 30, 2022
@7yl4r 7yl4r self-assigned this Aug 30, 2022
@7yl4r 7yl4r removed their assignment Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants