Learn R Programming

redquack (version 0.3.0)

remove_duckdb: Remove DuckDB Database

Description

Closes a DuckDB connection and removes the database file.

Usage

remove_duckdb(conn, dbname = "redcap.duckdb")

Value

Invisible NULL.

Arguments

conn

A DuckDB connection object.

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