Package: REDCapR 1.3.0

Will Beasley

REDCapR: Interaction Between R and REDCap

Encapsulates functions to streamline calls from R to the REDCap API. REDCap (Research Electronic Data CAPture) is a web application for building and managing online surveys and databases developed at Vanderbilt University. The Application Programming Interface (API) offers an avenue to access and modify data programmatically, improving the capacity for literate and reproducible programming.

Authors:Will Beasley [aut, cre], David Bard [ctb], Thomas Wilson [ctb], John J Aponte [ctb], Rollie Parrish [ctb], Benjamin Nutter [ctb], Andrew Peters [ctb], Hao Zhu [ctb], Janosch Linkersdörfer [ctb], Jonathan Mang [ctb], Felix Torres [ctb], Philip Chase [ctb], Victor Castro [ctb], Greg Botwin [ctb], Stephan Kadauke [ctb], Ezra Porter [ctb], Matthew Schuelke [ctb]

REDCapR_1.3.0.tar.gz
REDCapR_1.3.0.tar.gz(r-4.5-noble)REDCapR_1.3.0.tar.gz(r-4.4-noble)
REDCapR_1.3.0.tgz(r-4.4-emscripten)REDCapR_1.3.0.tgz(r-4.3-emscripten)
REDCapR.pdf |REDCapR.html
REDCapR/json (API)
NEWS

# Install 'REDCapR' in R:
install.packages('REDCapR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ouhscbbmc/redcapr/issues

6.93 score 6 packages 456 scripts 1.5k downloads 48 exports 40 dependencies

Last updated 7 days agofrom:0d64e8412d. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 24 2024
R-4.5-linuxOKOct 24 2024

Exports:checkbox_choicesconstantconstant_to_accessconstant_to_export_rightsconstant_to_form_completionconstant_to_form_rightscreate_batch_glossarycreate_credential_localredcap_arm_exportredcap_column_sanitizeredcap_dag_readredcap_deleteredcap_download_file_oneshotredcap_download_instrumentredcap_event_instrumentsredcap_event_readredcap_file_download_oneshotredcap_file_upload_oneshotredcap_instrument_downloadredcap_instrumentsredcap_log_readredcap_metadata_coltypesredcap_metadata_readredcap_metadata_writeredcap_next_free_record_nameredcap_projectredcap_project_info_readredcap_readredcap_read_oneshotredcap_reportredcap_survey_link_export_oneshotredcap_upload_file_oneshotredcap_users_exportredcap_variablesredcap_versionredcap_writeredcap_write_oneshotregex_named_capturesretrieve_credential_localretrieve_credential_mssqlsanitize_tokenvalidate_data_frame_inheritsvalidate_field_namesvalidate_for_writevalidate_no_logicalvalidate_record_id_namevalidate_repeat_instancevalidate_uniqueness

Dependencies:askpassbackportsbitbit64checkmateclicliprcpp11crayoncurldplyrfansigenericsgluehmshttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6readrrlangstringistringrsystibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Advanced REDCapR Operations

Rendered fromadvanced-redcapr-operations.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2017-05-18

Basic REDCapR Operations

Rendered fromBasicREDCapROperations.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2014-09-19

Retrieving Longitudinal and Repeating Structures

Rendered fromlongitudinal-and-repeating.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2024-09-10

Security Database

Rendered fromSecurityDatabase.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2014-09-19

Troubleshooting REDCap API Calls

Rendered fromTroubleshootingApiCalls.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2014-09-19

Typical REDCap Workflow for a Data Analyst

Rendered fromworkflow-read.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2021-07-22

Writing to a REDCap Project

Rendered fromworkflow-write.Rmdusingknitr::rmarkdownon Oct 24 2024.

Last update: 2024-10-23
Started: 2024-09-10

Readme and manuals

Help Manual

Help pageTopics
Collapse a vector of values into a single string when necessarycollapse_vector
Collection of REDCap-specific constantsconstant constant_to_access constant_to_export_rights constant_to_form_completion constant_to_form_rights
Creates a dataset that help batching long-running read and writescreate_batch_glossary
REDCapR internal function for calling the REDCap APIkernel_api
Manipulate and interpret the metadata of a REDCap projectcheckbox_choices metadata_utilities regex_named_captures
Export Armsredcap_arm_export
Sanitize to adhere to REDCap character encoding requirementsredcap_column_sanitize
Read data access groups from a REDCap projectredcap_dag_read
Delete records in a REDCap projectredcap_delete
Enumerate the instruments to event mappingsredcap_event_instruments
Export Eventsredcap_event_read
Download a file from a REDCap project recordredcap_download_file_oneshot redcap_file_download_oneshot
Upload a file into to a REDCap project recordredcap_file_upload_oneshot redcap_upload_file_oneshot
Download REDCap Instrumentsredcap_download_instrument redcap_instrument_download
Enumerate the instruments (forms)redcap_instruments
Get the logging of a project.redcap_log_read
Suggests a col_type for each field in a REDCap projectredcap_metadata_coltypes
Export the metadata of a REDCap projectredcap_metadata_read
Import metadata of a REDCap projectredcap_metadata_write
Determine free available record IDredcap_next_free_record_name
A Reference Class to make later calls to REDCap more convenientredcap_project
Export project information.redcap_project_info_read
Read records from a REDCap project in subsets, and stacks them together before returning a datasetredcap_read
Read/Export records from a REDCap project, returned as eavredcap_read_eav_oneshot
Read/Export records from a REDCap projectredcap_read_oneshot
Read/Export records from a REDCap project -still in developmentredcap_read_oneshot_eav
Read/Export records that populate a REDCap reportredcap_report
Get survey link from REDCapredcap_survey_link_export_oneshot
List authorized usersredcap_users_export
Enumerate the exported variablesredcap_variables
Determine version of REDCap instanceredcap_version
Write/Import records to a REDCap projectredcap_write
Write/Import records to a REDCap projectredcap_write_oneshot
Create explicit factor level for missing valuesreplace_nas_with_explicit
Read a token and other credentials from a (non-REDCap) database or filecreate_credential_local retrieve_credential retrieve_credential_local retrieve_credential_mssql
Validate and sanitize the user's REDCap tokensanitize_token
Convert a vector to the array format expected by the REDCap APIto_api_array
Inspect a dataset to anticipate problems before writing to a REDCap projectvalidate validate_data_frame_inherits validate_field_names validate_for_write validate_no_logical validate_record_id_name validate_repeat_instance validate_uniqueness