inst/test-data/specific-redcapr/report/col_types.R

structure(list(record_id = 1:5, height = c(7, 6, 180, 165, 193.04
), health_complete = c(1L, 0L, 2L, 2L, 0L), address = c("14 Rose Cottage St.  Kenning UK, 323232", 
"14 Rose Cottage Blvd.  Kenning UK 34243", "243 Hill St.  Guthrie OK 73402", 
"342 Elm  Duncanville TX, 75116", "Hotel Suite  New Orleans LA, 70115"
), ethnicity = c(1L, 1L, 0L, 1L, 2L)), class = "data.frame", row.names = c(NA, 
-5L), spec = structure(list(cols = list(record_id = structure(list(), class = c("collector_integer", 
"collector")), height = structure(list(), class = c("collector_double", 
"collector")), health_complete = structure(list(), class = c("collector_integer", 
"collector")), address = structure(list(), class = c("collector_character", 
"collector")), ethnicity = structure(list(), class = c("collector_integer", 
"collector"))), default = structure(list(), class = c("collector_guess", 
"collector")), skip = 1L), class = "col_spec"))

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.