iNaturalist identifier leaderboard
Intended for tracking statistics for ID-A-Thons, this widget uses the iNaturalist
identifications/identifiers API to construct a leaderboard of identifiers, e.g., for a particular time period. It also links to
pisum's iNat Identifier Stats tool. For example, the following parameters restrict the leaderboard to vascular plants in Oregon on 11/09/24. This code can be copied and pasted into an iNaturalist journal post.
<iframe src="https://mickley.github.io/iNat-Tools/id-leaderboard.html?own_observation=false&is_change=false&taxon_id=211194&place_id=10&d1=2024-11-09T00:00-08:00&d2=2024-11-09T23:59-08:00" height="300" width="450" frameborder="0"><iframe>
Any variables from the
api reference can be added as link parameters to constrain the leaderboard, and this help text will disappear when embedded in an iframe within a journal post on iNaturalist. The following iNaturalist variables are especially relevant:
- own_observation=false: Include this if you do not want to include identifications of a users own observations in the statistics.
- is_change=false: Include this to avoid including identifications added as a result of a taxon change.
- d1 & d2: start and end dates. To account for timezones, use ISO 8601 format: 2024-11-09T00:00-08:00, where -08:00 is the offset from UTC. (YYYY-MM-DDTHH:mm:ss+/-HH:mm