From 34cf7452719b26bb664a99ea1aa60f6320e5b90d Mon Sep 17 00:00:00 2001 From: Will Beasley Date: Sat, 7 Dec 2024 11:19:00 -0600 Subject: [PATCH] environmental variable tokens for cron job for @higgi13425 & #556 --- utility/cron-example.R | 33 +- utility/cron-example.log | 1488 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 1433 insertions(+), 88 deletions(-) diff --git a/utility/cron-example.R b/utility/cron-example.R index cc7bc931..ba0cd955 100644 --- a/utility/cron-example.R +++ b/utility/cron-example.R @@ -1,21 +1,28 @@ # Simplified script incorporating a cron job & REDCapR -# Adapated from https://heds.nz/posts/automate-r-reporting-linux-cron/ -cat(paste0(Sys.time(), " Starting cron job...\n")) +# Adapted from https://heds.nz/posts/automate-r-reporting-linux-cron/ +message("==============================") +message(paste0(Sys.time(), " Starting cron job...\n")) -uri <- "https://bbmc.ouhsc.edu/redcap/api/" +uri <- "https://redcap-dev-2.ouhsc.edu/redcap/api/" -# A simple project (pid 153) -token <- "9A81268476645C4E5F03428B8AC3AA7B" -REDCapR::redcap_metadata_read(redcap_uri=uri, token=token) +message("---- simple project --------------------------") +token_1 <- "9A068C425B1341D69E83064A2D273A70" +REDCapR::redcap_metadata_read(redcap_uri=uri, token=token_1) -# A longitudinal project (pid 212) -token <- "0434F0E9CF53ED0587847AB6E51DE762" -REDCapR::redcap_metadata_read(redcap_uri=uri, token=token) +message("---- repeating measures project w/ environmental token --------------------------") +Sys.setenv(REDCAP_KIRA_SGM_KEY = "77842BD8C18D3408819A21DD0154CCF4") +token_3 <- Sys.getenv("REDCAP_KIRA_SGM_KEY") +REDCapR::redcap_metadata_read(redcap_uri=uri, token=token_3) -# A repeating measures (pid 3181) -token <- "22C3FF1C8B08899FB6F86D91D874A159" -REDCapR::redcap_metadata_read(redcap_uri=uri, token=token) +message("---- longitudinal project w/ stored token--------------------------") +path <- system.file("misc/dev-2.credentials", package = "REDCapR") +# message(path) +message("Credential file exists: ", fs::file_exists(path)) +credential <- REDCapR::retrieve_credential_local(path, 34L) +# message(credential) +REDCapR::redcap_metadata_read(redcap_uri=credential$redcap_uri, token=credential$token) -cat(paste0(Sys.time(), " Finished running scripts/new_iris.R.\n")) +message("------------------------------") +message(paste0(Sys.time(), " Finished running utility/cron-example.R.\n")) # * * * * * Rscript ~/redcap/REDCapR/utility/cron-example.R >> ~/redcap/REDCapR/utility/cron-example.log 2>&1 diff --git a/utility/cron-example.log b/utility/cron-example.log index b7fa1bdb..dfa589cf 100644 --- a/utility/cron-example.log +++ b/utility/cron-example.log @@ -1,4 +1,1175 @@ -2024-12-05 09:33:02.079769 Starting cron job... +============================== +2024-12-07 11:06:01.289504 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.2690506 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1433709 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1581771 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:06:03.09582 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:07:01.28665 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.3143952 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1464875 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1773546 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:07:03.234982 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:08:01.43933 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.291121 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1496165 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1713202 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:08:03.362437 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:09:01.550743 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.273406 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1437643 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1756694 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:09:03.415152 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:10:01.624951 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.3057504 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1496959 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1668601 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:10:03.555642 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:11:01.76844 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.253253 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1407044 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1609802 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:11:03.751485 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:12:01.970974 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.319459 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1383016 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1714332 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:12:03.854855 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:13:02.055956 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.2940636 + +$raw_text +[1] "" + +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.146631 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1753004 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:13:03.904053 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:14:02.091437 Starting cron job... + +---- simple project -------------------------- The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. $data # A tibble: 17 × 18 @@ -44,11 +1215,56 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.3130496 +[1] 0.2643588 $raw_text [1] "" +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +$data +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1340029 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. $data # A tibble: 95 × 18 @@ -88,11 +1304,69 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.1591053 +[1] 0.1701632 + +$raw_text +[1] "" + +------------------------------ +2024-12-07 11:14:03.970552 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:15:02.164451 Starting cron job... + +---- simple project -------------------------- +The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. +$data +# A tibble: 17 × 18 + field_name form_name section_header field_type field_label + + 1 record_id demographics text Study ID + 2 name_first demographics Contact Informa… text First Name + 3 name_last demographics text Last Name + 4 address demographics notes Street, Ci… + 5 telephone demographics text Phone numb… + 6 email demographics text E-mail + 7 dob demographics text Date of bi… + 8 age demographics text Age (years) + 9 sex demographics radio Gender +10 height health text Height (cm) +11 weight health text Weight (ki… +12 bmi health calc BMI +13 comments health General Comments notes Comments +14 mugshot health file Mugshot +15 race race_and_ethnicity checkbox Race (Sele… +16 ethnicity race_and_ethnicity radio Ethnicity +17 interpreter_needed race_and_ethnicity truefalse Are interp… +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.2832725 $raw_text [1] "" +---- repeating measures project w/ environmental token -------------------------- The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. $data # A tibble: 9 × 18 @@ -130,13 +1404,64 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.1083767 +[1] 0.142642 + +$raw_text +[1] "" + +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. +$data +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows +# ℹ 13 more variables: select_choices_or_calculations , field_note , +# text_validation_type_or_show_slider_number , +# text_validation_min , text_validation_max , identifier , +# branching_logic , required_field , custom_alignment , +# question_number , matrix_group_name , matrix_ranking , +# field_annotation + +$success +[1] TRUE + +$status_code +[1] 200 + +$outcome_message +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." + +$forms_collapsed +[1] "" + +$fields_collapsed +[1] "" + +$elapsed_seconds +[1] 0.1728756 $raw_text [1] "" -2024-12-05 09:33:03.784631 Finished running scripts/new_iris.R. -2024-12-05 09:34:02.08569 Starting cron job... +------------------------------ +2024-12-07 11:15:04.143959 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:16:01.344881 Starting cron job... + +---- simple project -------------------------- The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. $data # A tibble: 17 × 18 @@ -182,27 +1507,26 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.3179343 +[1] 0.2808993 $raw_text [1] "" -The data dictionary describing 95 fields was read from REDCap in 0.4 seconds. The http status code was 200. +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. $data -# A tibble: 95 × 18 - field_name form_name section_header field_type field_label - - 1 study_id demographics text Study ID - 2 date_enrolled demographics Consent Information text Date subject si… - 3 patient_document demographics file Upload the pati… - 4 first_name demographics Contact Information text First Name - 5 last_name demographics text Last Name - 6 telephone_1 demographics text Phone number - 7 email demographics text E-mail - 8 dob demographics text Date of birth - 9 age demographics text Age (years) -10 ethnicity demographics radio Ethnicity -# ℹ 85 more rows +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient # ℹ 13 more variables: select_choices_or_calculations , field_note , # text_validation_type_or_show_slider_number , # text_validation_min , text_validation_max , identifier , @@ -217,7 +1541,7 @@ $status_code [1] 200 $outcome_message -[1] "The data dictionary describing 95 fields was read from REDCap in 0.4 seconds. The http status code was 200." +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." $forms_collapsed [1] "" @@ -226,25 +1550,29 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.3935587 +[1] 0.1400197 $raw_text [1] "" -The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. $data -# A tibble: 9 × 18 - field_name form_name section_header field_type field_label - -1 record_id intake text Record ID -2 height intake text patient height -3 weight intake text patient weight -4 bmi intake text patient bmi -5 sbp blood_pressure text systolic blood pressure -6 dbp blood_pressure text diastolic blood pressu… -7 lab laboratory text lab value -8 conc laboratory text concentration -9 image_profile image file Picture of Patient +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows # ℹ 13 more variables: select_choices_or_calculations , field_note , # text_validation_type_or_show_slider_number , # text_validation_min , text_validation_max , identifier , @@ -259,7 +1587,7 @@ $status_code [1] 200 $outcome_message -[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." $forms_collapsed [1] "" @@ -268,13 +1596,18 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.1074209 +[1] 0.1605253 $raw_text [1] "" -2024-12-05 09:34:04.015385 Finished running scripts/new_iris.R. -2024-12-05 09:35:01.322777 Starting cron job... +------------------------------ +2024-12-07 11:16:03.212882 Finished running utility/cron-example.R. + +============================== +2024-12-07 11:17:01.443348 Starting cron job... + +---- simple project -------------------------- The data dictionary describing 17 fields was read from REDCap in 0.3 seconds. The http status code was 200. $data # A tibble: 17 × 18 @@ -320,27 +1653,26 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.3099558 +[1] 0.3216732 $raw_text [1] "" -The data dictionary describing 95 fields was read from REDCap in 0.1 seconds. The http status code was 200. +---- repeating measures project w/ environmental token -------------------------- +The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. $data -# A tibble: 95 × 18 - field_name form_name section_header field_type field_label - - 1 study_id demographics text Study ID - 2 date_enrolled demographics Consent Information text Date subject si… - 3 patient_document demographics file Upload the pati… - 4 first_name demographics Contact Information text First Name - 5 last_name demographics text Last Name - 6 telephone_1 demographics text Phone number - 7 email demographics text E-mail - 8 dob demographics text Date of birth - 9 age demographics text Age (years) -10 ethnicity demographics radio Ethnicity -# ℹ 85 more rows +# A tibble: 9 × 18 + field_name form_name section_header field_type field_label + +1 record_id intake text Record ID +2 height intake text patient height +3 weight intake text patient weight +4 bmi intake text patient bmi +5 sbp blood_pressure text systolic blood pressure +6 dbp blood_pressure text diastolic blood pressu… +7 lab laboratory text lab value +8 conc laboratory text concentration +9 image_profile image file Picture of Patient # ℹ 13 more variables: select_choices_or_calculations , field_note , # text_validation_type_or_show_slider_number , # text_validation_min , text_validation_max , identifier , @@ -355,7 +1687,7 @@ $status_code [1] 200 $outcome_message -[1] "The data dictionary describing 95 fields was read from REDCap in 0.1 seconds. The http status code was 200." +[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." $forms_collapsed [1] "" @@ -364,25 +1696,29 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.1435215 +[1] 0.1444757 $raw_text [1] "" -The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200. +---- longitudinal project w/ stored token-------------------------- +Credential file exists: TRUE +The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200. $data -# A tibble: 9 × 18 - field_name form_name section_header field_type field_label - -1 record_id intake text Record ID -2 height intake text patient height -3 weight intake text patient weight -4 bmi intake text patient bmi -5 sbp blood_pressure text systolic blood pressure -6 dbp blood_pressure text diastolic blood pressu… -7 lab laboratory text lab value -8 conc laboratory text concentration -9 image_profile image file Picture of Patient +# A tibble: 95 × 18 + field_name form_name section_header field_type field_label + + 1 study_id demographics text Study ID + 2 date_enrolled demographics Consent Information text Date subject si… + 3 patient_document demographics file Upload the pati… + 4 first_name demographics Contact Information text First Name + 5 last_name demographics text Last Name + 6 telephone_1 demographics text Phone number + 7 email demographics text E-mail + 8 dob demographics text Date of birth + 9 age demographics text Age (years) +10 ethnicity demographics radio Ethnicity +# ℹ 85 more rows # ℹ 13 more variables: select_choices_or_calculations , field_note , # text_validation_type_or_show_slider_number , # text_validation_min , text_validation_max , identifier , @@ -397,7 +1733,7 @@ $status_code [1] 200 $outcome_message -[1] "The data dictionary describing 9 fields was read from REDCap in 0.1 seconds. The http status code was 200." +[1] "The data dictionary describing 95 fields was read from REDCap in 0.2 seconds. The http status code was 200." $forms_collapsed [1] "" @@ -406,9 +1742,11 @@ $fields_collapsed [1] "" $elapsed_seconds -[1] 0.1098793 +[1] 0.1616328 $raw_text [1] "" -2024-12-05 09:35:03.12585 Finished running scripts/new_iris.R. +------------------------------ +2024-12-07 11:17:03.511681 Finished running utility/cron-example.R. +