tbl_lazy | R Documentation |
These functions are useful for testing SQL generation without having to
have an active database connection. See simulate_dbi()
for a list
available database simulations.
tbl_lazy(df, con = NULL, ..., name = "df")
lazy_frame(..., con = NULL, .name = "df")
library(dplyr)
df <- data.frame(x = 1, y = 2)
df_sqlite <- tbl_lazy(df, con = simulate_sqlite())
df_sqlite %>% summarise(x = sd(x, na.rm = TRUE)) %>% show_query()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.