Skip to contents

Load Rollup Engine from an Excel Workbook

Usage

rollup_engine_from_excel(
  path,
  sheet = 1,
  class_col = "CLASS",
  code_col = "CODE",
  vocabulary_col = "VOCABULARY",
  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

path

Path to Excel workbook (.xlsx / .xls).

sheet

Sheet name or numeric index (default 1).

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 (e.g. 'RxNorm').

domain

Domain ID (default 'Drug').

target_vocabulary

Target vocabulary ID (default 'RxNorm').

expand

Hierarchy expansion direction ('descendants' | 'ancestors' | NULL).

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.