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

tab: tabulate observations per observer & per identifier #128

Open
michaelpirrello opened this issue Aug 26, 2020 · 1 comment
Open

tab: tabulate observations per observer & per identifier #128

michaelpirrello opened this issue Aug 26, 2020 · 1 comment
Labels
enhancement New feature or request inat 🍃 iNaturalist cog obs iNaturalist observations

Comments

@michaelpirrello
Copy link
Collaborator

As discussed, migrate

  • ,maverick
  • ,topids and
  • ,topobs

customcoms into Dronefly commands

@michaelpirrello michaelpirrello added enhancement New feature or request inat 🍃 iNaturalist cog labels Aug 26, 2020
@michaelpirrello michaelpirrello changed the title Incoporation of iNat based customcoms into bot commands Incorporation of iNat based customcoms into bot commands Aug 26, 2020
@synrg synrg added obs iNaturalist observations identifications iNaturalist identifications labels Aug 26, 2020
@synrg synrg changed the title Incorporation of iNat based customcoms into bot commands tab: tabulate observations per observer & per identifier Aug 26, 2020
@synrg
Copy link
Collaborator

synrg commented Aug 26, 2020

I'm going to cover ,topids and ,topobs in this bug. please file a separate one for ,maverick, as that's something entirely different, where individual identifications should be output, something we don't even have a display for yet.

The ,topobs customcom produces a URL from the taxon id argument like this:

https://www.inaturalist.org/observations?place_id=any&taxon_id={0:query}&view=observers

The ,topids customcom produces a URL from the taxon id argument like this:

https://www.inaturalist.org/observations?place_id=any&taxon_id={0:query}&view=identifiers

My idea is that these two are both best implemented as ,tab displays, where per observer and per identifier (different lists of iNat user ids, with numbers beside them) are the tabulated rows. We'd probably want abbreviations for these: per user and per ider, respectively (where user elsewhere in bot displays is already used to describe "the observer", e.g. in ,tab <taxon> by me).

So, for example:

,tab cuckoo bees from ns per user

Output should be like ,tab cuckoo bees from ns by me, except:

  • the people listed don't have to be registered to the bot as members of the server
  • no reaction buttons are provided to add/remove anyone
  • the list could be rather long, so output would be paged if some reasonable maximum is exceeded
  • the title would be "Observations of Subfamily Nomadinae (Cuckoo Bees) from Nova Scotia, CA per observer", which would be a link to the URL that the ,topobs customcom currently produces

,tab cuckoo bees from ns per ider

Just like the first example, except "per identifier" in the title & URL, and in the listed users in the table.

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 obs iNaturalist observations
Projects
None yet
Development

No branches or pull requests

2 participants