Learn R Programming

redquack (version 0.3.0)

redcap_log: Get REDCap Logs Table

Description

Creates a tbl reference to the REDCap logs table in the database and automatically collects it as a data frame. Uses the REDCap logs table name stored in the connection attributes if available.

Usage

redcap_log(conn, redcap_log_table_name = NULL)

Value

A data frame containing the REDCap audit log data.

Arguments

conn

A DuckDB connection object.

redcap_log_table_name

Character string specifying the REDCap logs table name. If NULL, uses the table name stored in connection attributes. Default is NULL.

Examples

Run this code
if (FALSE) {
redcap_log <- redcap_log(conn)
}

Run the code above in your browser using DataLab