redcap_read | R Documentation |
Extracts data from redcap (using httr) and writes it to a easy to use tibble. API token is collected using R studio api when function is run.
redcap_read( fields = NULL, records = NULL, redcap_uri = "https://redcap.rn.dk/api/", identifier = FALSE, ... )
fields |
str | Single or several fields to read from redcap |
records |
num | Single or several records to read. Defaults to ALL |
redcap_uri |
str | Url to redcap API |
identifier |
bool | Whether or not to include CPR number in the return. |
... |
Extra arguments |
tibble
If you wish to combine lakba with redcap data you must include CPR number (identifier = TRUE)
redcap_read(fields = c("bmi", "weight"), records = c(1001, 1002))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.