Skip to content

Commit

Permalink
update read-batch-survey
Browse files Browse the repository at this point in the history
ref #542
  • Loading branch information
wibeasley committed Oct 14, 2024
1 parent 0db4c5c commit a2ed15a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions inst/test-data/projects/survey/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
survey
===============

Additional (manual) steps to establish the test project on a new server:

1. The `prescreening_survey_timestamp` field needs to be set.
So for both records, click the "Open Survey" button
(in the "Survey Options" dropdown)
and submit.
6 changes: 3 additions & 3 deletions inst/test-data/projects/survey/expected/default.R
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
structure(list(participant_id = c(1, 2), redcap_survey_identifier = c(NA,
NA), prescreening_survey_timestamp = structure(c(1520351563,
1520351595), class = c("POSIXct", "POSIXt"), tzone = "UTC"),
NA), prescreening_survey_timestamp = structure(c(1728851970,
1728852051), class = c("POSIXct", "POSIXt"), tzone = "UTC"),
dob = structure(c(17596, 17595), class = "Date"), email = c("[email protected]",
"[email protected]"), has_diabetes = c(1, 0), consent___1 = c(1,
0), prescreening_survey_complete = c(2, 2), participant_info_survey_timestamp = c(NA,
NA), first_name = c(NA, NA), last_name = c(NA, NA), address = c(NA,
NA), telephone_1 = c(NA, NA), ethnicity = c(NA, NA), race = c(NA,
NA), sex = c(NA, NA), height = c(NA, NA), weight = c(NA,
NA), participant_info_survey_complete = c(0, 0), participant_morale_questionnaire_timestamp = c("[not completed]",
NA), participant_info_survey_complete = c(0, 0), participant_morale_questionnaire_timestamp = c(NA,
NA), pmq1 = c(NA, NA), pmq2 = c(NA, NA), pmq3 = c(NA, NA),
pmq4 = c(NA, NA), participant_morale_questionnaire_complete = c(0,
0), complete_study = c(NA, NA), withdraw_date = c(NA, NA),
Expand Down

0 comments on commit a2ed15a

Please sign in to comment.