-
Notifications
You must be signed in to change notification settings - Fork 0
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
survey integration union_all call is failing #14
Comments
We did not change the surveys |
I dug a little deeper and it looks like this is an issue with dplyr version 1.1.0 changing the behavior of dplyr::union_all(
r1,
r2plus
) Here I believe Calvin's code is is attempting to unify the survey results from round 1 (pre + post) and round 2+ but the I did try changing the dplyr::full_join(
r1,
r2plus,
by = survey_join_keys
) This causes a downstream failed assertion Switching to an older version of dplyr is another option but currently challenging because of all of the other package dependencies that need to be included and RStudio's tendencies to install the latest version of things. Still that's pretty much the next avenue to explore using Docker images at https://hub.docker.com/r/rocker/tidyverse/tags |
The script will also get tripped up on duplicate survey records for a participant at this assertion: assertthat::assert_that(nrow(game_tournament) == nrow(survey_tournament))
In the 2023-10 dataset there's one instance of two post surveys recorded for one participant (inviteId = 1397) with the first being completed and the second only started several days later for some reason Definitely something to handle within the script so I think we can just select the more complete (or newest if same completion %) one |
There is an issue with the analysis pipeline integrating round 1 pre surveys with round 2+ pre surveys. Not sure if this is a data issue where the round 1 pre survey has changed and the round 2+ pre surveys did not or vice versa.
@MarcoAJanssen
The text was updated successfully, but these errors were encountered: