Skip to contents

get_epc() is a convenience wrapper for get_classes() that returns FDA labeling class assertions for RxNorm drugs.

Usage

get_epc(
  x,
  by = c("rxcui", "name"),
  keep_input = TRUE,
  show_progress = interactive()
)

Arguments

x

Character vector of RxCUIs or drug names.

by

One of "rxcui" or "name".

keep_input

Logical; if TRUE, includes the original input value.

show_progress

Logical. Show a progress bar in interactive sessions. Progress is shown only when at least 5 inputs are supplied.

Value

A tibble of established pharmacologic class assertions.