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

obs/tab: Enable searching/filtering on establishment means #132

Open
michaelpirrello opened this issue Oct 12, 2020 · 1 comment
Open

obs/tab: Enable searching/filtering on establishment means #132

michaelpirrello opened this issue Oct 12, 2020 · 1 comment
Labels
enhancement New feature or request inat 🍃 iNaturalist cog

Comments

@michaelpirrello
Copy link
Collaborator

For example, enable the ability to use ",obs anthophila from PA with means native"

@michaelpirrello michaelpirrello added enhancement New feature or request inat 🍃 iNaturalist cog labels Oct 12, 2020
@synrg
Copy link
Collaborator

synrg commented Oct 12, 2020

Alternatively, ,obs anthophila from pa with native. There is no separate means parameter in the observations search API:

https://api.inaturalist.org/v1/docs/#!/Observations/get_observations

It just has native=true, native=false, introduced=true, introduced=false. If we stick closely to this model, we could have: ,obs anthophila from pa with native, with not native, with introduced, with not introduced, and with not native, not introduced (which is the only way via the API to find the "establishment means unknown" category, i.e. the taxon is listed, but set to "unknown").

Unfortunately, the API doesn't provide any way to find observations that are not listed. But that's a fourth possible category. As we discussed on #coding on Dronefly Discord server today, that can't be helped. It's up to the iNat developers to support that, if they feel it's a useful thing to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inat 🍃 iNaturalist cog
Projects
None yet
Development

No branches or pull requests

2 participants