Description Usage Arguments Value
Takes a connection, table or table name, and (optional) label, if the second parameter isn't a table name, it just returns it, otherwise, announces that it is loading the table from the database and uses [dplyr::tbl()] to do that. Also adds an explanatory message if dbplyr is not loaded.
1 |
con |
A DBI Connection obtained with [DBI::dbConnect()] |
table |
A table or the name of the table to extract |
label |
User-friendly name for the table (used in info message) |
The table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.