reduce | R Documentation |
Filters an object's relations, keeping only the main relations, and those considered ancestors via foreign key references. Foreign key references involving removed relations are also removed.
reduce(x, ...)
x |
An object whose relations are to be filtered. |
... |
further arguments passed to or from other methods. |
Details on how the main tables are chosen are given in individual methods.
This function is mostly intended for simplifying a database, or a database schema, for the purposes of exploration, particularly by examining plots. While the filtering might remove important auxiliary relations, it's also likely to remove any based on spurious dependencies, of which some databases can contain many.
An object of the same class as x
, with the auxiliary relations
and foreign key references removed.
reduce.database_schema
, reduce.database
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.