if (FALSE) {
uri <- "https://redcap-dev-2.ouhsc.edu/redcap/api/"
token <- "589740603423E92BC79BAC2811B1F82A" # file-repo
# Top-level directory
REDCapR::redcap_file_repo_list_oneshot(
redcap_uri = uri,
token = token
)$data
# First subdirectory
REDCapR::redcap_file_repo_list_oneshot(
redcap_uri = uri,
token = token,
folder_id = 1
)$data
}
Run the code above in your browser using DataLab