The goal of setupRxNorm is to instantiate the RxNorm Monthly Release on Postgres.
Installation
You can install setupRxNorm from GitHub with:
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)
)