Description Usage Arguments Value
A function to query QRC PostgreSQL database.
1 2 | qrc_query(db, query, dbhost = Sys.getenv("QRC_DB_HOST"), port = 5432,
uid = Sys.getenv("QRC_DB_USER"), pwd = Sys.getenv("QRC_DB_PWD"))
|
db |
Database name. |
query |
Query to send to database. |
dbhost |
Host IP address. Set to QRC_DB_HOST in .Renviron. |
port |
Port that server is listening on. Defaults to 5432. |
uid |
User ID. Set as QRC_DB_USER in .Renviron file. |
pwd |
Password. Set as QRC_DB_PWD in .Renviron file. |
Returns query results in dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.