-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fixed calculating column summaries with a missing-proportion option #8419
Fixed calculating column summaries with a missing-proportion option #8419
Conversation
@africanmathsinitiative/developers this is ready to review |
@rdstern So the issue occurs when using the Column Summaries dialog.
In R script form:
This was occurring because the |
@lilyclements that's a very good spot. However, now the dialog seems to give an error the second time I use the dialog, whatever I do! |
@rdstern this error came from when I added in the keys delete changes so was actually an issue in the master version. I fixed this in #8422 which has now been merged, so this shouldn't be a problem anymore. Sorry for not being clearer that that might happen! I've updated my branch, so if you re-pull this branch then this error shouldn't occur anymore. |
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.
@lilyclements great - this now seems to work fine.
@lloyddewit I hope this is ok for your checks. It is a correction I would really like to see in the version tomorrow if at all possible.
A bug identified by the CIMH group during their workshop is that using
na_type=c("'prop'")
in R-Instat calls a bug. This is because the parameter associated withna_type
was not being called in withna_type
. This PR fixes this issue for percentiles.I am not sure if this issue would occur with other summaries. I have tried for other summaries like
summary_mean
and there is no issue there.This issue does not occur for me for the other variables that are altered by the na_type. I have tested and these values are read in.
Script that I was testing the bug fix with