The goal of setupLOINC is to instantiate the latest LOINC Table File (CSV) in Postgres.
You can install setupLOINC from GitHub with:
library(devtools)
install_github("meerapatelmd/setupLOINC")
This is a basic example which shows you how to solve a common problem:
library(setupLOINC)
run_setup(conn = conn,
schema = "loinc",
csv_path = "~/Loinc_2.69_Text_2.69",
log_csv_version = "2.69",
log_release_date = "2020-12-15")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.