dm_nycflights13 {dm} | R Documentation |
Creates a dm object for the nycflights13 data
Description
Creates an example dm
object from the tables in nycflights13,
along with the references.
See nycflights13::flights
for a description of the data.
As described in nycflights13::planes
, the relationship
between the flights
table and the planes
tables is "weak", it does not satisfy
data integrity constraints.
Usage
dm_nycflights13(
...,
cycle = FALSE,
color = TRUE,
subset = TRUE,
compound = TRUE,
table_description = FALSE
)
Arguments
... |
These dots are for future extensions and must be empty. |
cycle |
Boolean.
If |
color |
Boolean, if |
subset |
Boolean, if |
compound |
Boolean, if |
table_description |
Boolean, if |
Value
A dm
object consisting of nycflights13 tables, complete with primary and foreign keys and optionally colored.
See Also
vignette("howto-dm-df")
Examples
dm_nycflights13() %>%
dm_draw()