# NOT RUN {
dm_nycflights13() %>%
dm_join_to_tbl(airports, flights)
# same result is achieved with:
dm_nycflights13() %>%
dm_join_to_tbl(flights, airports)
# this gives an error, because the tables are not directly linked to each other:
try(
dm_nycflights13() %>%
dm_join_to_tbl(airlines, airports)
)
# }
Run the code above in your browser using DataLab