Package: REDCapR 1.1.9005

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.1.9005.tar.gz
REDCapR_1.1.9005.zip(r-4.5)REDCapR_1.1.9005.zip(r-4.4)REDCapR_1.1.9005.zip(r-4.3)
REDCapR_1.1.9005.tgz(r-4.4-any)REDCapR_1.1.9005.tgz(r-4.3-any)
REDCapR_1.1.9005.tar.gz(r-4.5-noble)REDCapR_1.1.9005.tar.gz(r-4.4-noble)
REDCapR_1.1.9005.tgz(r-4.4-emscripten)REDCapR_1.1.9005.tgz(r-4.3-emscripten)
REDCapR.pdf |REDCapR.html
REDCapR/json (API)
NEWS

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

Peer review:

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

On CRAN:

redcapredcap-api

48 exports 110 stars 4.86 score 40 dependencies 6 dependents 1.1k downloads

Last updated 22 days agofrom:c9b462d550

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 Jun 11 2024.

Last update: 2023-05-27
Started: 2017-03-29

Basic REDCapR Operations

Rendered fromBasicREDCapROperations.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2023-02-17
Started: 2013-11-29

Retrieving Longitudinal and Repeating Structures

Rendered fromlongitudinal-and-repeating.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2024-06-11
Started: 2022-09-29

Security Database

Rendered fromSecurityDatabase.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2021-07-22
Started: 2014-09-08

Troubleshooting REDCap API Calls

Rendered fromTroubleshootingApiCalls.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2023-05-27
Started: 2014-07-02

Typical REDCap Workflow for a Data Analyst

Rendered fromworkflow-read.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2024-06-11
Started: 2021-07-09

Writing to a REDCap Project

Rendered fromworkflow-write.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2023-07-14
Started: 2023-06-04

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
Download a file from a REDCap project recordredcap_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