Query and get data back into a data.frame
sql_collect(src, query, ...)
src | (src) An |
---|---|
query | (character) A SQL query |
... | further args passed on to |
we run dplyr::tbl()
, then dplyr::collect()
if (FALSE) { src <- src_itis() sql_collect(src, "select * from hierarchy limit 5") ## or pipe the src to sql_collect src %>% sql_collect("select * from hierarchy limit 5") }