mrc-ide / epireview

https://mrc-ide.github.io/epireview/
Other
26 stars 2 forks source link

user-friendly data filters #18

Open sangeetabhatia03 opened 6 months ago

sangeetabhatia03 commented 6 months ago

We have implemented filtering (see filter_cols), but it is not very user-friendly because we expect the user to know the exact column name to filter on as well as the precise value. Our column names are not easy to remember or guess, and where a precise value is required e.g. if filtering on parameter, the user must know how the value has been specified by us (e.g, Basic Reproduction Number, when the user wants R0). How can we make this feature easy to use? My first thought is to provide user-friendly names for parameter values e.g. have a function that maps R0, r0, rnaught etc to "Basic Reproduction Number", so that user can say filter_param_type("r0") and they get what they want. But this is just an initial thought, I haven't really thought this through.

ruthmccabe commented 3 months ago

This is closely linked to #23 that I am working on