knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "images" )
The goal of schemeR is to visualize SQLite databases.
You can install schemeR from github with:
# install.packages("devtools") devtools::install_github("jsta/schemeR")
This is a basic example:
library(schemeR) db <- dplyr::lahman_sqlite() res <- schemeR::render_sqlite(db) schemeR::export_svg(res, "images/sqlite_example.png")
df <- data.frame( "name" = 1:4, "people" = c("bob", "jim", "beatrice", "ann")) res <- schemeR::render_df(df) schemeR::export_svg(res, "images/df_example.png")
http://graphviz.org/content/datastruct
https://rich-iannone.github.io/DiagrammeR/graphviz_and_mermaid.html
https://github.com/rich-iannone/DiagrammeR/issues/133
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.