dettl_create_log_table: Initialise the database by creating log table if it doesn't...

View source: R/initialise.R

dettl_create_log_tableR Documentation

Initialise the database by creating log table if it doesn't already exist

Description

Initialise the database by creating log table if it doesn't already exist

Usage

dettl_create_log_table(path, db_name)

Arguments

path

Path to import directory containing db connection configuration.

db_name

The name of the db to connect to. Connection info must be configured via the dettl_config.yml.

Examples

path <- dettl:::prepare_test_import(
  system.file("examples", "person_information", package = "dettl"),
  system.file("examples", "dettl_config.yml", package = "dettl"),
  add_log_table = FALSE
)
dettl::dettl_create_log_table(file.path(path, "person_information"), "test")

vimc/dettl documentation built on Oct. 6, 2022, 2:13 p.m.