| starwars_dm | R Documentation | 
Creates a dm object with the starwarsdb tables.
starwars_dm(configure_dm = TRUE, remote = FALSE)
starwars_dm_configure(dm)
configure_dm | 
 If   | 
remote | 
 If   | 
dm | 
 A dm object with the starwarsdb tables  | 
A dm object
starwars_dm_configure(): Configure the starwars dm object with primary
and foreign keys and colors.
dm::dm(), dm::dm_add_pk(), dm::dm_add_fk(), dm::dm_from_src()
# If the {dm} package is installed...
if (requireNamespace("dm", quietly = TRUE)) {
  # Create a full starwars {dm} object from local tables
  starwars_dm(remote = TRUE)
  # Create a base starwars {dm} object from remote tables wihout keys
  starwars_dm(configure_dm = FALSE, remote = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.