Provides a simple structure to describe data models, functions to read data model from YAML file, and a function to create DiagrammeR graph objects:
datamodelr's data model object is a simple list of data frames which
represent the model entities and include elements and their relations.
See as.data_model
.
Function as.data_model
creates a
data model object from a data frame.
Function dm_read_yaml
reads YAML format and creates a
data model object.
Function dm_create_graph
creates a graph object from
data model object.
Function dm_render_graph
renders a graph object (using
DiagrammeR package).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.