Description Usage Arguments Value Examples
Wrapper around DBI functions to send a SELECT
statement, fetch the results
and return them in a tibble.
1 | m4_select_data(con, select)
|
con |
A |
select |
a character string representing a SQL |
a tibble with the results.
1 2 3 4 5 6 7 8 9 10 11 12 | # To run examples, you must have the BIGQUERY_TEST_PROJECT environment
# variable set to name of project which has billing set up and to which
# you have write access.
con <- bigrquery::dbConnect(
bigrquery::bigquery(),
project = bigrquery::bq_test_project(),
quiet = TRUE
)
m4_select_data(con, "select * from physionet-data.mimic_icu.d_items order by itemid limit 5")
bigrquery::dbDisconnect(con)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.