Skip to content

Commit

Permalink
Remove study_id and session_id during processing
Browse files Browse the repository at this point in the history
  • Loading branch information
gongcastro committed Jan 8, 2025
1 parent afce54c commit bd5c401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/import.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ process_survey <- function(raw, participants_tmp, version) {
merge_surveys <- function(raw, participants_tmp, version) {
# merge data frames
raw_tmp <- raw %>%
lapply(select, -any_of(c("created", "modified", "ended", "expired"))) %>%
lapply(select, -any_of(c("created", "modified", "ended", "expired", "study_id", "session_id"))) %>%
# if a single session ID has multiple entries, select most recent
reduce(inner_join, by = join_by(session), multiple = "all") %>%
mutate(
Expand Down

0 comments on commit bd5c401

Please sign in to comment.