dplyr_src | R Documentation |
These methods are deprecated because of their limited use,
and because the notion of a "source" seems to be getting phased out from dplyr.
Use other ways to access the tables in a dm
.
dm_get_src(x)
## S3 method for class 'dm'
tbl(src, from, ...)
## S3 method for class 'dm'
src_tbls(x, ...)
## S3 method for class 'dm'
copy_to(
dest,
df,
name = deparse(substitute(df)),
overwrite = FALSE,
temporary = TRUE,
repair = "unique",
quiet = FALSE,
...
)
src |
A |
from |
A length one character variable containing the name of the requested table |
... |
See original function documentation |
dest |
For |
df |
For |
name |
For |
overwrite |
For |
temporary |
For |
repair , quiet |
Name repair options; cf. |
Use dm_get_con()
instead of dm_get_src()
to get the DBI connetion for a
dm
object
Use [[
instead of tbl()
to access individual tables in a dm
object.
Get the names from dm_get_tables()
instead of calling dm_get_src()
to list the table names in a dm
object.
Use copy_to()
on a table and then dm()
instead of copy_to()
on a dm
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.