A set of functions adding features to dbplyr
This package is not yet on CRAN, so install using
remotes::install_github("EeethB/dbplyrExtra")
dbplyr
is a fantastic package, which allows users to apply dplyr
verbs to database tables. The verbs are translated into SQL, the table gets queried, and results are returned as a data frame. Often this is useful when a whole database table is too large to fit into the physical memory of a local machine, but a summary or subset does fit. While this can be wonderfully helpful, there are a few difficulties:
dbplyr
pipeline.dbplyrExtra
solves this by adding the function as_db_tibble()
. To move a dbplyr
object into physical memory, it must be passed to as_tibble()
. On the other hand, if a table is still too large, as_db_tibble()
executes the generated SQL and writes results to the database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.