Learn R Programming

redquack (version 0.3.0)

use_duckdb: Create DuckDB Connection

Description

Creates a DuckDB connection to the REDCap database file.

Usage

use_duckdb(dbname = "redcap.duckdb")

Value

A DuckDB connection object.

Arguments

dbname

Character string specifying the database file name. Default is "redcap.duckdb".

Examples

Run this code
if (FALSE) {
conn <- use_duckdb()
# Use the connection...
remove_duckdb(conn)
}

Run the code above in your browser using DataLab