Skip to content

Commit

Permalink
Update R/clean_redcap_long.R
Browse files Browse the repository at this point in the history
Co-authored-by: Ezra Porter <[email protected]>
  • Loading branch information
rsh52 and ezraporter authored Aug 30, 2024
1 parent e154fec commit 7a02e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/clean_redcap_long.R
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ convert_mixed_instrument <- function(db_data_long, mixed_structure_ref) {
!is.na({{ field }}) & is.na(.data$redcap_repeat_instance) ~ TRUE,
# repeat together instances
!is.na({{ field }}) & !is.na(.data$redcap_repeat_instance) & is.na(.data$redcap_repeat_instrument) ~ TRUE,
.default = FALSE
TRUE ~ FALSE
)
)

Expand Down

0 comments on commit 7a02e5c

Please sign in to comment.