-
Notifications
You must be signed in to change notification settings - Fork 16
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
Visual data export - rob heatmap/barcharts #892
Conversation
@@ -91,9 +94,64 @@ def get_required_robs_for_metric(self, metric): | |||
return self.get_qs(assessment.id).filter(filters) | |||
|
|||
|
|||
class RiskOfBiasScoreQuerySet(QuerySet): | |||
def df(self) -> pd.DataFrame: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rabstejnek another example of switching from nested JSON to SQL
@shapiromatron looks like we need to rewrite the test data files after merging in main |
I'll push an updated commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good!
* Preliminary work on replacing prefilter logic with filtersets * Data pivots largely done * Visuals largely done * Cleanup, linting * Improvements * Fix tests * Fix migrations, data pivot copy, cleanup * Add eco data pivot in * Better class names * migration updates; clarify comment * update passing prefilter context; disable editing of evidence type * filter study selection by data type * disable editing of export_style for some data types * update title to reflect evidence type * updates to preferred units and JS * lint * log failed mappings, but continue * remove DataPivotQuery._refine_queryset * remove unused file! * rename prefilters * in migration, do not add empty study lists * updates from debugging * add invitro effect options * add show/hide toggles * show published status with study * use a prefilter base class * vendor dynamic forms * fix lint * fix merge conflict * validate field name via regex * restore making preferred units optional * deselect items if user unchecks a prefilter * fix regression from #892 * update example with tableau dashboard * Change order of Visual fields * Add show/hide prefilters to visual form * move shared code to common location * filter out empty strings (mess up prefilters) --------- Co-authored-by: Andy Shapiro <shapiromatron@gmail.com>
Add new option to actions menu to download data in tabular format for study evaluation heatmaps and barcharts.
An example export (transposed for readability):