biocore / microsetta-public-api

A public microservice to support The Microsetta Initiative
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Results Page Taxonomy Aggregation #85

Open dhakim87 opened 3 years ago

dhakim87 commented 3 years ago

We expect the Results page on interface to show data at the level of genera, but that can't be easily done just by dropping the species column, because we'll get tons of duplicate rows:

Screen Shot 2020-12-16 at 4 16 28 PM

I put a fix for this into interface as a PR, but it's quite complicated to do in Javascript and we might prefer to do this in pandas before sending out the data. Maybe as a separate parameter we can specify about what rank to collapse to?