EVOLUTION-MANAGER
Edit File: tbl_lazy.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create a local lazy tibble</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for tbl_lazy {dbplyr}"><tr><td>tbl_lazy {dbplyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a local lazy tibble</h2> <h3>Description</h3> <p>These functions are useful for testing SQL generation without having to have an active database connection. See <code><a href="simulate_dbi.html">simulate_dbi()</a></code> for a list available database simulations. </p> <h3>Usage</h3> <pre> tbl_lazy(df, con = simulate_dbi(), src = NULL) lazy_frame(..., con = simulate_dbi(), src = NULL) </pre> <h3>Examples</h3> <pre> 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() </pre> <hr /><div style="text-align: center;">[Package <em>dbplyr</em> version 1.4.4 <a href="00Index.html">Index</a>]</div> </body></html>