make_erd | R Documentation |
Create an Entity-Relationship Diagram (ERD) from a data model and save it to disk in SVG format. Requires that the dm, DiagrammeR, V8, and DiagrammeRsvg packages are available.
make_erd(dm, path = tempfile(fileext = ".svg"), overwrite = FALSE)
dm |
'dm' object. Data model. |
path |
'character' string. File path to write the ERD. |
overwrite |
'logical' flag. Whether to overwrite an existing file. |
Invisibly returns the file path.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
make_dm
function for creating a data model for the inldata package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.