You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add a quartile aggregator and then hit F (or something) and have it show me which quartile each row corresponds to. (There is also the more general issue that I'm not sure what most aggregators do in a frequency table.) I can do this manually with =4 if score > score_p75 else 3 if score >score_p50 else 2 if score > score_p25 else 1 but it seems ... odd. Also, I tried to make this conditional a function in my .visidatarc, but it doesn't work. Are memory values not available for functions defined in .visidatarc?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to add a quartile aggregator and then hit
F
(or something) and have it show me which quartile each row corresponds to. (There is also the more general issue that I'm not sure what most aggregators do in a frequency table.) I can do this manually with=4 if score > score_p75 else 3 if score >score_p50 else 2 if score > score_p25 else 1
but it seems ... odd. Also, I tried to make this conditional a function in my .visidatarc, but it doesn't work. Are memory values not available for functions defined in .visidatarc?Beta Was this translation helpful? Give feedback.
All reactions