The goal of parsenetwork is to …
You can install the released version of parsenetwork from CRAN with:
install.packages("parsenetwork")
Or install the development version from GitHub with:
install.packages("remotes")
remotes::install_github("celehs/parsenetwork")
library(parsenetwork)
# required steps
data2db("edge", "path/to/db", "path/to/datafile")
data2db("dict_cui", "path/to/db", "path/to/datafile")
data2db("dict_codified", "path/to/db", "path/to/datafile")
# optional steps
data2db("synonyms", "path/to/db", "path/to/datafile")
data2db("rollup", "path/to/db", "path/to/datafile")
data2db("table1", "path/to/db", "path/to/datafile", title = "the title of the data")
This is a basic example which shows you how to run the parsenetwork
app. Remember you need to get access to the data and save it to your
local computer. In order to guarantee some dependencies are loaded, you
must use library(parsenetwork)
beforehand, instead of directly running
parsenetwork::run_app()
.
library(parsenetwork)
run_app(db_path = "path/to/db")
See the getting started guide to learn how to use parsenetwork.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.