Skip to content

Commit

Permalink
add images
Browse files Browse the repository at this point in the history
ref #530
  • Loading branch information
wibeasley committed Sep 5, 2024
1 parent 1e8a47e commit 5188104
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions inst/test-data/specific-redcapr/read-batch-plumbing/repeated.R
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
structure(list(record_id = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
2), redcap_repeat_instrument = c(NA, "blood_pressure", "blood_pressure",
"blood_pressure", "laboratory", "laboratory", NA, "blood_pressure",
"blood_pressure", "blood_pressure", "laboratory", "laboratory"
), redcap_repeat_instance = c(NA, 1, 2, 3, 1, 2, NA, 1, 2, 3,
1, 2), height = c(1, NA, NA, NA, NA, NA, 2, NA, NA, NA, NA, NA
), weight = c(11, NA, NA, NA, NA, NA, 22, NA, NA, NA, NA, NA),
bmi = c(111, NA, NA, NA, NA, NA, 222, NA, NA, NA, NA, NA),
intake_complete = c(2, NA, NA, NA, NA, NA, 2, NA, NA, NA,
NA, NA), sbp = c(NA, 1.1, 1.2, 1.3, NA, NA, NA, 2.1, 2.2,
2.3, NA, NA), dbp = c(NA, 11.1, 11.2, 11.3, NA, NA, NA, 22.1,
22.2, 22.3, NA, NA), blood_pressure_complete = c(NA, 2, 2,
2, NA, NA, NA, 2, 2, 2, NA, NA), lab = c(NA, NA, NA, NA,
"aa1", "aa2", NA, NA, NA, NA, "bb1", "bb2"), conc = c(NA,
NA, NA, NA, "1.1 ppm", "1.2 ppm", NA, NA, NA, NA, "2.1 ppm",
"2.2 ppm"), laboratory_complete = c(NA, NA, NA, NA, 2, 2,
NA, NA, NA, NA, 2, 2), image_profile = c(NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA), image_complete = c(NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA)), row.names = c(NA,
-12L), class = c("spec_tbl_df", "tbl_df", "tbl", "data.frame"
))
structure(list(record_id = c(1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
2, 2, 2, 2, 2, 2), redcap_repeat_instrument = c(NA, "blood_pressure",
"blood_pressure", "blood_pressure", "laboratory", "laboratory",
"image", "image", NA, "blood_pressure", "blood_pressure", "blood_pressure",
"laboratory", "laboratory", "image", "image", "image"), redcap_repeat_instance = c(NA,
1, 2, 3, 1, 2, 1, 2, NA, 1, 2, 3, 1, 2, 1, 2, 3), height = c(1,
NA, NA, NA, NA, NA, NA, NA, 2, NA, NA, NA, NA, NA, NA, NA, NA
), weight = c(11, NA, NA, NA, NA, NA, NA, NA, 22, NA, NA, NA,
NA, NA, NA, NA, NA), bmi = c(111, NA, NA, NA, NA, NA, NA, NA,
222, NA, NA, NA, NA, NA, NA, NA, NA), intake_complete = c(2,
NA, NA, NA, NA, NA, NA, NA, 2, NA, NA, NA, NA, NA, NA, NA, NA
), sbp = c(NA, 1.1, 1.2, 1.3, NA, NA, NA, NA, NA, 2.1, 2.2, 2.3,
NA, NA, NA, NA, NA), dbp = c(NA, 11.1, 11.2, 11.3, NA, NA, NA,
NA, NA, 22.1, 22.2, 22.3, NA, NA, NA, NA, NA), blood_pressure_complete = c(NA,
2, 2, 2, NA, NA, NA, NA, NA, 2, 2, 2, NA, NA, NA, NA, NA), lab = c(NA,
NA, NA, NA, "aa1", "aa2", NA, NA, NA, NA, NA, NA, "bb1", "bb2",
NA, NA, NA), conc = c(NA, NA, NA, NA, "1.1 ppm", "1.2 ppm", NA,
NA, NA, NA, NA, NA, "2.1 ppm", "2.2 ppm", NA, NA, NA), laboratory_complete = c(NA,
NA, NA, NA, 2, 2, NA, NA, NA, NA, NA, NA, 2, 2, NA, NA, NA),
image_profile = c(NA, NA, NA, NA, NA, NA, "levon-and-barry.jpg",
"mugshot-1.jpg", NA, NA, NA, NA, NA, NA, "mugshot-2.jpg",
"mugshot-3.jpg", "mugshot-4.jpg"), image_complete = c(NA,
NA, NA, NA, NA, NA, 2, 0, NA, NA, NA, NA, NA, NA, 2, 1, 0
)), row.names = c(NA, -17L), class = c("spec_tbl_df", "tbl_df",
"tbl", "data.frame"))

0 comments on commit 5188104

Please sign in to comment.