setup_crosswalk_schema: Write More Than 1 SAB Subset at Once

View source: R/crosswalk.R

setup_crosswalk_schemaR Documentation

Write More Than 1 SAB Subset at Once

Description

Write all or some of the SAB subset tables via write_crosswalk_table().

Usage

setup_crosswalk_schema(
  sabs,
  conn_fun = "pg13::local_connect()",
  crosswalk_schema = "umls_crosswalk"
)

Arguments

sabs

(optional) Vector of SABs to write. If missing, all the sabs in the existing MRCONSO table are written.

crosswalk_schema

Schema to write these extension tables to. Default: 'umls_crosswalk'

Value

One or more tables of the sab subsets to the given schema. A new 'label' field is added to designate the core concept name for the given concept.

See Also

drop_cascade,create_schema


meerapatelmd/metathesaurus documentation built on May 23, 2022, 7:41 a.m.