Comments (8)
Can you provide a little more detail about what you need? For ancestors/children would you need more than what details currently provides http://api.inaturalist.org/v1/taxa/12727 ? Seems like you'd minimally want scientific name, rank, and common name.
What about conservation statuses and establishment means? The API currently returns the best matching value of each when given a place. Do you need more than that? Do you need data about these across all places?
from inaturalistapi.
Definitely need sci name, common name, and rank for all ancestors and children.
For conservation statuses I need
- place.name
- status
- iucn
- url
- authority
- description
For establishment I need listed taxon
- place.name
- establishment_means
- list.title
- id (or again, enough info to link to the listed taxon
For ConservationStatus I need all of them associated with this taxon (not descendants or ancestors). For establishment and listed taxa... let's just stick with the requested place for now. I feel like we might get a better list of places if/when Scott's atlas idea pans out. In addition to what's already in the API, it might be nice to get the listed taxon's list.title
, but not critical if it's a pain.
from inaturalistapi.
Do you only need the listed taxa with establishment means? Right now I have it returning all listed_taxa with a place or means (and not filtering by preferred_place_id)
from inaturalistapi.
I added the taxon photos, but didn't get the "taxon if descendant" bit in yet. The new code needs new data in ES, which is generated by a new rails branch. I indexed the first few thousand taxa on Staging and have the API running this branch there if you want to test it out
from inaturalistapi.
To more requests to help configure the map:
- GBIF ID
- Enough info to configure the taxonMap to show a range (I think this is just a boolean)
from inaturalistapi.
I turned taxon.photos
into taxon.taxon_photos
which now includes the taxon of the clade where the photo came from. Now that I think of it, I wonder how useful this will be since it's the taxon of the clade the photo is attached to, not the species featured in the photo. If it's not that useful, then maybe taxon_photos
is overkill and we go back to photos
.
I was thinking about doing the map stuff separately from taxon details. Right now it seems like we fetch GBIF IDs on demand, not in bulk on some schedule. There can also be good reasons to expire cached IDs and look them up again, and we probably don't want to do that for all taxa all the time. So that is the kind of thing we might want to fetch asynchronously when maps are rendered, not every time we return taxon details from the API. Maybe there's a separate taxon map layers API that the taxon map JS code can call and append the map layers menu accordingly.
from inaturalistapi.
I think the taxon photos stuff will still be useful. I'm happy to go with whatever seems the most reasonable to you regarding taxon map parameters. Happy to make another request if that seems cleaner to you.
from inaturalistapi.
pretty sure this is done now
from inaturalistapi.
Related Issues (20)
- Trad project user species count not showing the correct number HOT 1
- Allow exact string search queries (for things like taxa and projects) HOT 2
- Allow restricting taxon search to only valid names HOT 1
- Add PUT observations/:id/viewed_updates to API v2
- v2 fetch endpoints with a single UUID should 404 if there's no record
- how does paging work in taxa and taxa/autocomplete endpoints? HOT 1
- Document order and order_by params of /v1/taxa endpoint
- Support DELETE observation in v2
- Support updating observation photos and sounds in API v2
- Add application field to observations/search HOT 1
- Support GET observations/deleted in API v2 HOT 1
- Allow authenticated log requests from anywhere
- admin_level documentation is outdated
- Add a rank_level filter param to the fetch taxa endpoint
- Allow users to search by ORCID HOT 2
- Taxa `rank_level` returns floating point HOT 3
- API endpoint to reset a password
- [v2] GET observations returns 500 with search_phase_execution_exception HOT 1
- Additional fields for User API HOT 1
- Fix some recurring errors in logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inaturalistapi.