if (FALSE) {
# From exported files
out <- redcap_data(
data_path = "project_export.r",
dic_path = "project_dictionary.csv",
event_path = "instrument_event_map.csv"
)
# From API
out_api <- redcap_data(
uri = "https://redcap.example.org/api/",
token = "REPLACE_WITH_TOKEN"
)
}
Run the code above in your browser using DataLab