Learn R Programming

dm (version 0.2.8)

dm_pixarfilms: Creates a dm object for the pixarfilms data

Description

Creates an example dm object from the tables in pixarfilms, along with the references.

Usage

dm_pixarfilms(color = TRUE, consistent = FALSE)

Arguments

color

Boolean, if TRUE (default), the resulting dm object will have colors assigned to different tables for visualization with dm_draw().

consistent

Boolean, In the original dm the film column in pixar_films contains missing values so cannot be made a proper primary key. Set to TRUE to remove those records.

Value

A dm object consisting of pixarfilms tables, complete with primary and foreign keys and optionally colored.

Examples

Run this code
# NOT RUN {
dm_pixarfilms()
dm_pixarfilms() %>%
  dm_draw()
# }

Run the code above in your browser using DataLab