SpeciesFileGroup / taxonworks_api

Documentation for TaxonWorks APIs
http://api.taxonworks.org
Other
2 stars 6 forks source link

Minor issues when getting taxon_names #44

Open rafelafrance opened 3 years ago

rafelafrance commented 3 years ago

This has been a really smooth API to work with.

Two very minor issues:

  1. When I query for species I get subspecies too. This may be a feature but it bit me when looking through the records.
  2. There are duplicate names in the DB. For example: "Eusynthemis guttata" is both under IDs 715483 and 709907.

https://sfg.taxonworks.org/api/v1/taxon_names?project_token=iu4ty6tOdWg_-cceoQjhyQ&taxon_name_id=707405&descendants=true&nomenclature_group=Species&per=10000

mjy commented 3 years ago

This has been a really smooth API to work with.

Wonderful to hear. Don't worry, we'll break it.

  1. When I query for species I get subspecies too. This may be a feature but it bit me when looking through the records.

Will resolve via https://github.com/SpeciesFileGroup/taxonworks/issues/2263.

  1. There are duplicate names in the DB. For example: "Eusynthemis guttata" is both under IDs 715483 and 709907.

@debpaul @jcabbott13 welcome to the feedback loop. Time to start thinking how to effectively record and treat these issues. @jcabbott13 one thing we have done is have users like @rafelafrance who are savy with GH fill out issue in a project specific to a TW project, i.e. setup your own project.

We could image something slightly more sophisticated though this will require consumers to be wiling to write apps to write to a TW "log". For example something like a POST to /taxon_names/123/annotate?duplicate=true&user_token=123.