inst/test-data/specific-redcapr/read-batch-simple/label-header.R

structure(list(`Study ID` = c(1, 2, 3, 4, 5), `First Name` = c("Nutmeg", 
"Tumtum", "Marcus", "Trudy", "John Lee"), `Last Name` = c("Nutmouse", 
"Nutmouse", "Wood", "DAG", "Walker"), `Street, City, State, ZIP` = c("14 Rose Cottage St.\nKenning UK, 323232", 
"14 Rose Cottage Blvd.\nKenning UK 34243", "243 Hill St.\nGuthrie OK 73402", 
"342 Elm\nDuncanville TX, 75116", "Hotel Suite\nNew Orleans LA, 70115"
), `Phone number` = c("(405) 321-1111", "(405) 321-2222", "(405) 321-3333", 
"(405) 321-4444", "(405) 321-5555"), `E-mail` = c("nutty@mouse.com", 
"tummy@mouse.comm", "mw@mwood.net", "peroxide@blonde.com", "left@hippocket.com"
), `Date of birth` = structure(c(12294, 12121, -13051, -6269, 
-5375), class = "Date"), `Age (years)` = c(11, 11, 80, 61, 59
), Gender = c(0, 1, 1, 0, 1), `Complete?` = c(2, 2, 2, 2, 2), 
    `Height (cm)` = c(7, 6, 180, 165, 193.04), `Weight (kilograms)` = c(1, 
    1, 80, 54, 104), BMI = c(204.1, 277.8, 24.7, 19.8, 27.9), 
    Comments = c("Character in a book, with some guessing", "A mouse character from a good book", 
    "completely made up", "This record doesn't have a DAG assigned\n\nSo call up Trudy on the telephone\nSend her a letter in the mail", 
    "Had a hand for trouble and a eye for cash\n\nHe had a gold watch chain and a black mustache"
    ), Mugshot = c("mugshot-1.jpg", "mugshot-2.jpg", "mugshot-3.jpg", 
    "mugshot-4.jpg", "mugshot-5.jpg"), `Complete?_1` = c(1, 0, 
    2, 2, 0), `Race (Select all that apply) (choice=American Indian/Alaska Native)` = c(0, 
    0, 0, 0, 1), `Race (Select all that apply) (choice=Asian)` = c(0, 
    0, 0, 1, 0), `Race (Select all that apply) (choice=Native Hawaiian or Other Pacific Islander)` = c(0, 
    1, 0, 0, 0), `Race (Select all that apply) (choice=Black or African American)` = c(0, 
    0, 1, 0, 0), `Race (Select all that apply) (choice=White)` = c(1, 
    1, 1, 1, 0), `Race (Select all that apply) (choice=Unknown / Not Reported)` = c(0, 
    0, 0, 0, 1), Ethnicity = c(1, 1, 0, 1, 2), `Are interpreter services requested?` = c(0, 
    0, 1, NA, 0), `Complete?_2` = c(2, 0, 2, 2, 2)), row.names = c(NA, 
-5L), class = "data.frame")

Try the REDCapR package in your browser

Any scripts or data that you put into this service are public.

REDCapR documentation built on Aug. 10, 2022, 5:06 p.m.