knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

setupRxNorm

Lifecycle: experimental CRAN status

The goal of setupRxNorm is to instantiate the RxNorm Monthly Release on Postgres.

Installation

You can install setupRxNorm from GitHub with:

library(devtools)
install_github("meerapatelmd/setupRxNorm")

Uses

Install RxNorm Monthly Release

After downloading and unpacking the Monthly Release from the NIH:

library(setupRxNorm)
run_setup(conn = conn, # Postgres connection using the DatabaseConnector package
          rrf_path = "~/Desktop/RxNorm_full_03012021/rrf", # Path to the RRF folder in unpacked zip file
          log_release_date = "2021-03-01" # Date of release in zip file name (see arg above)
          )


meerapatelmd/setupRxNorm documentation built on Sept. 15, 2022, 9:25 a.m.