eunomia_dir {CDMConnector}R Documentation

Create a new Eunomia CDM

Description

Create a copy of the duckdb Eunomia CDM and return the file path

Usage

eunomia_dir(exdir = NULL)

Arguments

exdir

Enclosing directory where the Eunomia CDM should be created. If NULL (default) then a temp folder is created.

Value

The full path to the new Eunomia CDM that can be passed to dbConnect()

Examples

## Not run: 
library(DBI)
library(CDMConnector)
con <- dbConnect(duckdb::duckdb(), dbdir = getEunomiaPath())
dbListTables(con)
dbDisconnect(con)

## End(Not run)

[Package CDMConnector version 0.4.1 Index]