ctgov_create_data: Initialize the connection

View source: R/load.R

ctgov_create_dataR Documentation

Initialize the connection

Description

This function must be run prior to other functions in the package. It creates a parsed and cached version of the clinical trials dataset in memory in R. This makes other function calls relatively efficient.

Usage

ctgov_create_data(inputdir, dbdir = NULL, verbose = TRUE)

Arguments

inputdir

A path to the input duckDB database

dbdir

Location for the output database files. Should be a path to an existing directory in the file system. By default will place files in the location where the package is installed.

verbose

logical flag; should progress messages be printed?; defaults to TRUE

Value

does not return any value; used only for side effects

Author(s)

Taylor B. Arnold, taylor.arnold@acm.org


presagia-analytics/ctrialsgov documentation built on March 25, 2024, 2:10 p.m.