Skip to content

Commit

Permalink
blank-for-gray-status
Browse files Browse the repository at this point in the history
ref #539
  • Loading branch information
wibeasley committed Oct 13, 2024
1 parent a965905 commit e30be43
Show file tree
Hide file tree
Showing 4 changed files with 598 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inst/misc/dev-2.credentials
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ redcap_uri,username,project_id,token,comment
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","57","1BB275D06D7A86F8EDA2FB20BDF3A196","decimal comma"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","58","CC757AD84F18F97B91BD344FA287CB38","decimal dot"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","59","EB1FD5DDE583364AE605629AB7619397","Validation Types"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Blank for Gray Status"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","60","597BC2FF26B8212D1AC26E614E33B442","Blank for Gray Status"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Checkboxes 1"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Vignette: Reading Longitudinal & Repeating Measures"
7 changes: 7 additions & 0 deletions inst/test-data/projects/blank-for-gray-status/data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
record_id,redcap_data_access_group,name_first,name_last,address,telephone,email,dob,age,sex,demographics_complete,height,weight,bmi,comments,mugshot,health_complete,race___1,race___2,race___3,race___4,race___5,race___6,ethnicity,interpreter_needed,race_and_ethnicity_complete
1,dag_1,Nutmeg,Nutmouse,"14 Rose Cottage St. Kenning UK, 323232","(405) 321-1111",[email protected],2003-08-30,11,0,2,7,1,204.1,"Character in a book, with some guessing",mugshot-1.jpg,1,0,0,0,0,1,0,1,0,2
2,dag_1,Tumtum,Nutmouse,"14 Rose Cottage Blvd. Kenning UK 34243","(405) 321-2222",[email protected],2003-03-10,11,1,2,6,1,277.8,"A mouse character from a good book",mugshot-2.jpg,0,0,0,1,0,1,0,1,0,0
3,dag_1,Marcus,Wood,"243 Hill St. Guthrie OK 73402","(405) 321-3333",[email protected],1934-04-09,80,1,2,180,80,24.7,"completely made up",mugshot-3.jpg,2,0,0,0,1,1,0,0,1,2
4,,Trudy,DAG,"342 Elm Duncanville TX, 75116","(405) 321-4444",[email protected],1952-11-02,61,0,2,165,54,19.8,"This record doesn't have a DAG assigned So call up Trudy on the telephone Send her a letter in the mail",mugshot-4.jpg,2,0,1,0,0,1,0,1,,2
5,dag_2,"John Lee",Walker,"Hotel Suite New Orleans LA, 70115","(405) 321-5555",[email protected],1955-04-15,59,1,2,193.04,104,27.9,"Had a hand for trouble and a eye for cash He had a gold watch chain and a black mustache",mugshot-5.jpg,0,1,0,0,0,0,1,2,0,2
6,,blank-for-gray,blank-for-gray,,,,,,,0,,,,,,0,0,0,0,0,0,0,,,0
18 changes: 18 additions & 0 deletions inst/test-data/projects/blank-for-gray-status/dictionary.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"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,"Study ID",,,,,,,,,,,,,
name_first,demographics,"Contact Information",text,"First Name",,,,,,y,,,,,,,
name_last,demographics,,text,"Last Name",,,,,,y,,,,,,,
address,demographics,,notes,"Street, City, State, ZIP",,,,,,y,,,,,,,
telephone,demographics,,text,"Phone number",,"Include Area Code",phone,,,y,,,,,,,
email,demographics,,text,E-mail,,,email,,,y,,,,,,,
dob,demographics,,text,"Date of birth",,,date_ymd,,,y,,,,,,,
age,demographics,,text,"Age (years)",,,,,,,,,,,,,
sex,demographics,,radio,Gender,"0, Female | 1, Male",,,,,,,,,,,,
height,health,,text,"Height (cm)",,,number,130,215,,,,,,,,
weight,health,,text,"Weight (kilograms)",,,integer,35,200,,,,,,,,
bmi,health,,text,BMI,,,,,,,,,,,,,
comments,health,"General Comments",notes,Comments,,,,,,,,,,,,,
mugshot,health,,file,Mugshot,,,,,,,,,,,,,
race,race_and_ethnicity,,checkbox,"Race (Select all that apply)","1, American Indian/Alaska Native | 2, Asian | 3, Native Hawaiian or Other Pacific Islander | 4, Black or African American | 5, White | 6, Unknown / Not Reported",,,,,,,,,,,,
ethnicity,race_and_ethnicity,,radio,Ethnicity,"0, Unknown / Not Reported | 1, NOT Hispanic or Latino | 2, Hispanic or Latino",,,,,,,,,,,,
interpreter_needed,race_and_ethnicity,,truefalse,"Are interpreter services requested?",,,,,,,,,,,,,
Loading

0 comments on commit e30be43

Please sign in to comment.