Skip to content

Commit

Permalink
empty project
Browse files Browse the repository at this point in the history
ref #539
  • Loading branch information
wibeasley committed Oct 11, 2024
1 parent f5a6708 commit 5053cf8
Show file tree
Hide file tree
Showing 4 changed files with 273 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 @@ -7,7 +7,7 @@ redcap_uri,username,project_id,token,comment
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","33","9A068C425B1341D69E83064A2D273A70","simple static (read-only) test project"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","34","DA6F2BB23146BD5A7EA3408C1A44A556","longitudinal (read-only) ARM test project"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","36","F9CBFFF78C3D78F641BAE9623F6B7E6A","simple write data"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Russian Characters"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","37","7FD9A8BFC00BD2D7999DCDB9C19504B3","Russian Characters"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Empty rows"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","Single column"
"https://redcap-dev-2.ouhsc.edu/redcap/api/","myusername","","","super-wide --3,000 columns"
Expand Down
1 change: 1 addition & 0 deletions inst/test-data/projects/empty-rows/data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

17 changes: 17 additions & 0 deletions inst/test-data/projects/empty-rows/dictionary.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"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,,calc,"Age (years)","rounddown(datediff([dob],'today','y'))",,,,,,,,,,,,
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,,calc,BMI,"round(([weight]*10000)/(([height])^(2)),1)",,,,,,,,,,,,
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",,,,,,,,,,,,
Loading

0 comments on commit 5053cf8

Please sign in to comment.