Skip to contents

Load Rollup Engine from a Sequence of CSV Files

Usage

rollup_engine_from_csvs(
  paths,
  class_col = "CLASS",
  code_col = "CODE",
  vocabulary_col = NULL,
  vocabulary_id = NULL,
  domain = "Drug",
  target_vocabulary = NULL,
  expand = "descendants",
  include_retired_maps_to = TRUE,
  exclude_dose_forms = NULL,
  combination_policy = "attribute_all",
  name = NULL,
  header = TRUE,
  ...
)

Arguments

paths

Character vector of paths to CSV files.

class_col

Column name or index identifying clinical classes.

code_col

Column name or index identifying concept codes.

vocabulary_col

Optional column name for vocabulary.

vocabulary_id

Default vocabulary ID.

domain

Domain ID (default 'Drug').

target_vocabulary

Target vocabulary ID (default 'RxNorm').

expand

Hierarchy expansion direction.

include_retired_maps_to

Logical. Include backward maps to.

exclude_dose_forms

Character vector of dose forms to exclude.

combination_policy

Combination policy.

name

Name of engine.

header

Logical. Whether header is present.

...

Additional arguments.

Value

A rollup_engine object.