Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update comparison metadata to new format #513

Merged
merged 8 commits into from
May 20, 2024

Conversation

r-ash
Copy link
Collaborator

@r-ash r-ash commented May 3, 2024

This PR updates the comparison metadata to the new format, there are a couple of missing things here which I've left notes about. Let's have a chat about how to address these.

@r-ash r-ash changed the base branch from master to new-calibrate-metadata May 3, 2024 09:49
@r-ash r-ash force-pushed the comparison-metadata branch from c56c21e to 8cac170 Compare May 3, 2024 13:34
@r-ash r-ash force-pushed the new-calibrate-metadata branch from c55dac0 to 10d69f3 Compare May 7, 2024 15:12
@r-ash r-ash force-pushed the comparison-metadata branch from a62b3bf to 04620d3 Compare May 7, 2024 15:30
@r-ash r-ash changed the base branch from new-calibrate-metadata to tmp-epic-plot-cleanup-input May 8, 2024 08:49
@r-ash r-ash force-pushed the comparison-metadata branch 2 times, most recently from 96732cd to 3a5f4a9 Compare May 8, 2024 09:17
@r-ash r-ash force-pushed the comparison-metadata branch from 3a5f4a9 to faecdb7 Compare May 8, 2024 10:03
@r-ash r-ash requested a review from M-Kusumgar May 8, 2024 10:48
Copy link
Contributor

@M-Kusumgar M-Kusumgar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, i have left a comment about the indicator influencing other filter values/other plot controls, let me know what you think!

Comment on lines +187 to +193
## TODO: In current plot when you change indicator, it updates
## the filters. We could support this same behaviour by making
## indicator a plot control which updates the filter values
## including a hidden "indicator" filter which would be the value
## actually used for filtering the data. But let's check what we
## actually want to do. Would have to set the x-axis too, which I don't
## think we can support yet.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would say that this definitely sounds a little complicated, it would be nice to keep the complexity low in the effects because while it is powerful, i can see it going out of control very quickly.

my recommendation would be to change how the users have to interact with the comparison plot slightly and instead give them preset plot control with options like "Prevalence by age", "ART number by sex" and so on, so you get to preserve the pairings of the indicator with x axis and any other filter values you want to change while still being consistent with other plots

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I'm going to make a note of this and let's discuss when we review with Jeff and Rachel on Thursday

@r-ash r-ash merged commit a472994 into tmp-epic-plot-cleanup-input May 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants