reduce.database | R Documentation |
Filters a database's relations, keeping only the main relations, and those considered ancestors via foreign key references. Foreign key references involving removed relations are also removed.
## S3 method for class 'database'
reduce(x, ...)
x |
A database, whose relations are to be filtered. |
... |
further arguments passed to or from other methods. |
The main relations are considered to be the relations with the largest number of records.
Using rejoin
on the database resulting from reduce
is
likely to fail or return incomplete results.
A database, with the auxiliary relations and foreign key references removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.