biocore / biocore/microsetta-public-api

Results Page Taxonomy Aggregation

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Results-page data path in this Python service and the interface code that consumes it. Compare the existing species-level rows with the expected genus-level display, then determine whether the aggregation belongs in pandas before data is sent or in the interface. Done means duplicate genus rows are collapsed at the intended rank without breaking other Results-page data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, pandas, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.