build_concept_tables: Builds chosen dictionary concept tables in a database. Uses...

View source: R/build.R

build_concept_tablesR Documentation

Builds chosen dictionary concept tables in a database. Uses the supplied dictionary object to determine how to do this. The concept_file_path specifies the location of the downloaded clinical code files. <data-file-path> placeholders in the SQL file are replaced with the supplied concept_file_path.

Description

Internally the function executes specific SQL files before and after a dictionary/database specific function (if it exists). The form of this function is build_concept_tables.db_type.dict_type. It is passed the dictionary object and the list of replacements.

Usage

build_concept_tables(dict, concept_file_path)

Arguments

dict

Dictionary object

concept_file_path

Path to the downloaded concept files


rcfgroup/clinconcept documentation built on Nov. 12, 2022, 2:40 a.m.