PostgreSQL Querying

The

library(DBI)
con <- DBI::dbConnect(RPostgres::Postgres(),
               user = 'postgres',
               password = getOption('db.password.postgres'),
               host = 'localhost',
               port = '5432')
select now();
Table 1: 1 records
now
2020-03-23 00:16:36
1 + 1
## 2