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 use create_table_group_x_variable by specifying value_columns =c("stat", "n_total"), because that's how I want to present the output: with n_total for each question.
The problem is that when you do that, if for a certain disaggregation no respondent selected the response option, the value is NA (which is normal), but n_total is NA. Instead, n_total should be equal to the n_total of this disaggregation that answered to that question, even if that specific response option is not selected.
Second, nice to have, if there was a possibility when we chose to show n_total to only keep one column n_total per question, and it being located after all % for that question, it would be really smooth (for now there is one n_total per response option). I m coding some tiny stuff on my side so that it is done that way but it s always nice to mainstream this.
The text was updated successfully, but these errors were encountered:
Coucou :)
I use create_table_group_x_variable by specifying value_columns =c("stat", "n_total"), because that's how I want to present the output: with n_total for each question.
The problem is that when you do that, if for a certain disaggregation no respondent selected the response option, the value is NA (which is normal), but n_total is NA. Instead, n_total should be equal to the n_total of this disaggregation that answered to that question, even if that specific response option is not selected.
Second, nice to have, if there was a possibility when we chose to show n_total to only keep one column n_total per question, and it being located after all % for that question, it would be really smooth (for now there is one n_total per response option). I m coding some tiny stuff on my side so that it is done that way but it s always nice to mainstream this.
The text was updated successfully, but these errors were encountered: