Journal archives for March 2024

March 3, 2024

Query strings for life stage

Just adding notes for myself here so I can remember how so narrow down a search to show a specific life stage.

&term_id=1&term_value_id=6
Term ID 1 is the Life stage annotation
term_value_id=5 (nymph)

Search for Annotations
&term_id= - the annotation group

1=Life Stage, 9=Sex, 12=Plant Phenology, 17=Alive or Dead, 22=Evidence of Presence
&term_value_id= - the value within the group

Life Stage: 2=Adult, 3=Teneral, 4=Pupa, 5=Nymph, 6=Larva, 7=Egg, 8=Juvenile, 16=Subimago
Sex: 10=Female, 11=Male
Plant Phenology: 13=Flowering, 14=Fruiting, 15=Flower Budding, 21=No Evidence of Flowering
Alive or Dead: 18=Alive, 19=Dead, 20=Cannot Be Determined
Evidence of Presence: 23=Feather, 24=Organism, 25=Scat, 26=Track, 27=Bone, 28=Molt, 29=Gall

Wiki Reference
https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki-part-1-of-2/63
https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki-part-2-of-2/18792

Search by multiple user license types
Single license queries are already available from the Filters panels. To query for multiple license types:

&photo_license=cc0,cc-by,cc-by-sa (example for all photo licenses accepted by Wikipedia)

&photo_license=cc0,cc-by,cc-by-nc (example for all photo licenses accepted by GBIF)

&sound_license=cc0,cc-by (example for multiple sound licenses)

Use lower-case license parameters to ensure functionality in Identify 61.
The license and licensed API parameters (for observation level licenses) are not currently supported in URLs.
If you want to search for observations that have no photo license (aka all rights reserved), use photo_licensed=false. (unfortunately, there is no corresponding sound_licensed parameter.)
The system default is all observations regardless of license.

Posted on March 3, 2024 01:44 PM by jodycb jodycb | 0 comments | Leave a comment

Archives