Closed nikolas-burkoff closed 2 years ago
Related to, but distinct from: as in the referenced issue we are concerned with dynamically handling levels which are filtered out by the app users in the filter panel, whereas here we have a specific level given by the app developer denoting missing (instead of NA) which we don't want to see in the table irrespective of the filter panel state
@shajoezhu can we close it in favour of:
After communicating this with PO and the SME team, we have decided not to implement this change. As the change is relating to filtering in the encoding step, and we should separate the encoding step and setting up filters.
Original post
@shajoezhu @ClaudiaCarlucci
In this app, some ARM values are missing and some other ARMCD values are missing. In older versions these missing values were not shown in the table - but now in tm_t_events we get an error about missing values.
The expectation is now to use
tern::explicit_na
(ortern::df_explicit_na
) but then we end up seeing<Missing>
columns which we would rather not see. These are shown in multiple modules such as tm_t_events, tm_t_events_summary, tm_t_summary,...It is possible to filter these out using the filter panel but this is cumbersome as the filters need to be changed whether ARM, ARMCD or both are selected (as if ARM is selected we want all rows of data which do not have missing ARM, irrespective of the value in ARMCD). This is particularly difficult for novice end users in filter panels with lots of other filters already in (as in a real use case)
Is it possible to have an option in the encoding panel to not show these?
Note I think this is distinct from (but related to) https://github.com/insightsengineering/teal.modules.clinical/issues/473 as the arguments there seem not to affect the columns but only the rows
Awkward to have to keep manipulating filters
The missing option (which is only available in tm_t_summary - and default value can be set by app developer) but isn't available in others:
TODO