I’m trying to get this to work for this place, but I seem to be doing something wrong and get two problems. This is the current URL I have set up: https://jumear.github.io/stirfry/iNatAPIv1_identifications_recent_taxa.html?place_id=161113&per_page=30&observation_hrank=species
My intent is to see the latest species that have been added to this area/ID’ed from the area, so that if I were to plug in that URL on any given day, the options at the top of the list are the most recent new species.
Two issues I have:
- I thought I had set it to only include things at species rank, but for some strange reason it’s listing all the taxonomic levels for each inclusion in the list. For example:
In this screenshot, rows 15 to 20 are all the same observation, so you would think that logically in a request like this, you would get just one row per observation (listing the species). Is this intended behaviour? What also doesn’t make sense to me here is that these differing taxonomic levels seem to be completely arbitrarily ordered as well; they’re not ordered taxonomically or alphabetically, or even the order in which that taxon appeared in that area. How do I make only the new species appear in this list without the redundant rows?
Also bizarrely, for some observations not all of the same taxa are present as duplicate rows. Eg rows 15-20 as above represent species, genus, tribe, subfamily, family and superfamily. Yet going to rows 1 and 2, and that one only has species and genus listed, and not the other taxonomic levels??
- A number of entries on this list are clearly wrong. If I take this one for example:
and go to the observation, you can see there is clearly another observation of the exact same species located less than 100m away from this one; this other observation was both observed and uploaded way before this newer one, yet the newer one is the one that’s listed in the API request for most recent. What’s going on here?