Skip to content
Snippets Groups Projects
Commit 41913832 authored by Thomas  OBADIA's avatar Thomas OBADIA :speech_balloon:
Browse files

Add explicit casting detail for system columns (REDCap internal labelling...

Add explicit casting detail for system columns (REDCap internal labelling data) to accomodate recent changes in the redcapAPI package
parent 8048a350
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,8 @@ if (!DATA_EXTRACT_IS_RECENT_INV) { ...@@ -79,7 +79,8 @@ if (!DATA_EXTRACT_IS_RECENT_INV) {
# Radio buttons reported as label instead of code # Radio buttons reported as label instead of code
"radio" = castLabelCharacter, "radio" = castLabelCharacter,
"yesno" = castLabelCharacter, "yesno" = castLabelCharacter,
"dropdown" = castLabelCharacter "dropdown" = castLabelCharacter,
"system" = castLabelCharacter
)) %>% )) %>%
# Convert the '999' code to NA, except in Date/POSIX fields because it'll mess them up # Convert the '999' code to NA, except in Date/POSIX fields because it'll mess them up
......
...@@ -78,7 +78,8 @@ if (!DATA_EXTRACT_IS_RECENT_OBS) { ...@@ -78,7 +78,8 @@ if (!DATA_EXTRACT_IS_RECENT_OBS) {
# Radio buttons reported as label instead of code # Radio buttons reported as label instead of code
"radio" = castLabelCharacter, "radio" = castLabelCharacter,
"yesno" = castLabelCharacter, "yesno" = castLabelCharacter,
"dropdown" = castLabelCharacter "dropdown" = castLabelCharacter,
"system" = castLabelCharacter
)) %>% )) %>%
# Convert the '999' code to NA, except in Date/POSIX fields because it'll mess them up # Convert the '999' code to NA, except in Date/POSIX fields because it'll mess them up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment