-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verify
record_id
IS returned by redcap_read_oneshot()
ref #471
- Loading branch information
Showing
3 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
inst/test-data/specific-redcapr/read-batch-simple/specify-fields-without-record-id.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
structure(list(record_id = c(1, 2, 3, 4, 5), name_first = c("Nutmeg", | ||
"Tumtum", "Marcus", "Trudy", "John Lee"), address = 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" | ||
), interpreter_needed = c(0, 0, 1, NA, 0)), row.names = c(NA, | ||
-5L), class = c("spec_tbl_df", "tbl_df", "tbl", "data.frame")) |
9 changes: 9 additions & 0 deletions
9
inst/test-data/specific-redcapr/read-batch-simple/specify-forms-without-record-id.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
structure(list(record_id = c(1, 2, 3, 4, 5), height = c(7, 6, | ||
180, 165, 193.04), weight = 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"), health_complete = c(1, 0, | ||
2, 2, 0)), row.names = c(NA, -5L), class = c("spec_tbl_df", "tbl_df", | ||
"tbl", "data.frame")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab4c58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit message is wrong. It should be
redcap_read()
. Notredcap_read_oneshot()
.