sql_collect | R Documentation |
Query and get data back into a data.frame
sql_collect(src, query, ...)
src |
(src) An 'src' object, result of calling [src_germansl()], [src_eurosl()] |
query |
(character) A SQL query |
... |
further args passed on to [dplyr::tbl()] |
we run [dplyr::tbl()], then [dplyr::collect()]
## Not run:
src <- src_germansl()
sql_collect(src, "select * from GermanSL limit 5")
## or pipe the src to sql_collect
src %>% sql_collect("select * from GermanSL limit 5")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.