| db_query | R Documentation | 
db_qeury – query database
db_query(query, conn = NULL)
query | 
 is the sql string to run  | 
conn | 
 is the optional connection. will be created from ~/.pgpass is left empty  | 
 v   <- db_query('select * from visit limit 2')
 meg <- db_query(readr::read_file('/Volumes/Zeus/DB_SQL/queries/allMEG2016.sql'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.