-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref #539
- Loading branch information
Showing
5 changed files
with
286 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
inst/test-data/projects/repeating-instruments-sparse/data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
record_id,redcap_repeat_instrument,redcap_repeat_instance,date_enrolled,first_name,dob,age,ethnicity,race,sex,demographics_complete,date_bp,bp_systolic,bp_diastolic,bp_complete | ||
1,,,2019-10-14,aaa,2010-10-14,8.9,1,4,0,2,,,, | ||
1,bp,1,,,,,,,,,2019-10-14,110,100,2 | ||
1,bp,2,,,,,,,,,2019-10-14,111,101,2 | ||
1,bp,3,,,,,,,,,2019-10-14,112,102,2 | ||
2,,,2019-02-02,bbb,2010-02-02,9.6,0,6,1,2,,,, | ||
2,bp,1,,,,,,,,,2004-04-04,114,104,2 | ||
3,,,2021-11-04,"empty 3",,,,,,0,,,, | ||
4,,,2021-11-04,"empty 4",,,,,,0,,,, | ||
5,,,,"empty 5",,,,,,0,,,, |
12 changes: 12 additions & 0 deletions
12
inst/test-data/projects/repeating-instruments-sparse/dictionary.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"Variable / Field Name","Form Name","Section Header","Field Type","Field Label","Choices, Calculations, OR Slider Labels","Field Note","Text Validation Type OR Show Slider Number","Text Validation Min","Text Validation Max",Identifier?,"Branching Logic (Show field only if...)","Required Field?","Custom Alignment","Question Number (surveys only)","Matrix Group Name","Matrix Ranking?","Field Annotation" | ||
record_id,demographics,,text,"Record ID",,,,,,,,,,,,, | ||
date_enrolled,demographics,,text,"Date of Consent Signed:",,,date_ymd,,,,,,,,,, | ||
first_name,demographics,,text,"Subject Initials (FML)",,"If no middle initial, please put a hyphen (-) as a place holder",,,,y,,,,,,, | ||
dob,demographics,,text,"Date of Birth",,YYYY-MM-DD,date_ymd,,,y,,,,,,, | ||
age,demographics,,calc,"Age (years)","rounddown(datediff(""today"", [dob], ""y"", ""ymd""), 1 )",,,,,,,,,,,, | ||
ethnicity,demographics,,radio,Ethnicity,"0, Hispanic or Latino | 1, NOT Hispanic or Latino | 2, Unknown / Not Reported",,,,,,,,LH,,,, | ||
race,demographics,,dropdown,Race,"0, American Indian/Alaska Native | 1, Asian | 2, Native Hawaiian or Other Pacific Islander | 3, Black or African American | 4, White | 5, More Than One Race | 6, Unknown / Not Reported",,,,,,,,,,,, | ||
sex,demographics,,radio,Gender,"0, Female | 1, Male",,,,,,,,,,,, | ||
date_bp,bp,,text,date_bp,,,date_ymd,,,,,,,,,, | ||
bp_systolic,bp,,text,bp_systolic,,,integer,0,,,,,,,,, | ||
bp_diastolic,bp,,text,bp_diastolic,,,integer,0,,,,,,,,, |
Oops, something went wrong.