make_erd {inldata} | R Documentation |
Create Entity Relationship Diagram
Description
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.
Usage
make_erd(dm, path = tempfile(fileext = ".svg"), overwrite = FALSE)
Arguments
dm |
'dm' object. Data model. |
path |
'character' string. File path to write the ERD. |
overwrite |
'logical' flag. Whether to overwrite an existing file. |
Value
Invisibly returns the file path.
Author(s)
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
See Also
make_dm
function for creating a data model for the inldata package.
[Package inldata version 1.2.7 Index]