stow {CDMConnector}R Documentation

Collect a list of lazy queries and save the results as files

Description

Collect a list of lazy queries and save the results as files

Usage

stow(cdm, path, format = "parquet")

Arguments

cdm

A cdm object

path

A folder to save the cdm object to

format

The file format to use: "parquet", "csv", "feather".

Value

Invisibly returns the cdm input

Examples

## Not run: 
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
vocab <- cdm_from_con(con, cdm_tables = c("concept", "concept_ancestor"))
stow(vocab, here::here("vocab_tables"))
DBI::dbDisconnect(con, shutdown = TRUE)

## End(Not run)

[Package CDMConnector version 0.4.1 Index]