get_table | R Documentation |
Retrieves a named table from a given schema on the connection
get_table(conn, db_table = NULL, slice_ts = NA, include_slice_info = FALSE)
conn |
( |
db_table |
( |
slice_ts |
( |
include_slice_info |
( |
A "lazy" data.frame (tbl_lazy) generated using dbplyr.
Note that a temporary table will be preferred over ordinary tables in the default schema (see get_schema()
) with
an identical name.
conn <- get_connection()
dplyr::copy_to(conn, mtcars, name = "mtcars", temporary = FALSE)
get_table(conn)
if (table_exists(conn, "mtcars")) {
get_table(conn, "mtcars")
}
close_connection(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.