| pull_tbl | R Documentation |
This generic has methods for both dm classes:
With pull_tbl.dm() you can chose which table of the dm you want to retrieve.
With pull_tbl.dm_zoomed() you will retrieve the zoomed table in the current state.
pull_tbl(dm, table, ..., keyed = FALSE)
The requested table.
dm_deconstruct() to generate code of the form
pull_tbl(..., keyed = TRUE) from an existing dm object.
# For an unzoomed dm you need to specify the table to pull:
dm_nycflights13() %>%
pull_tbl(airports)
# If zoomed, pulling detaches the zoomed table from the dm:
dm_nycflights13() %>%
dm_zoom_to(airports) %>%
pull_tbl()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.