aws_db_rds_con | R Documentation |
Supports: MariaDB, MySQL, and Postgres
aws_db_rds_con(
user = NULL,
pwd = NULL,
id = NULL,
host = NULL,
port = NULL,
dbname = NULL,
engine = NULL,
...
)
user , pwd , host , port , dbname , ... |
named parameters passed on to
DBI::dbConnect. Note that
the |
id |
(character) Cluster identifier. If you supply |
engine |
(character) The engine to use. optional if |
RDS supports many databases, but we only provide support for MariaDB, MySQL, and Postgres
If the engine
you've chosen for your RDS instance is not supported
with this function, you can likely connect to it on your own
an S4 object that inherits from DBIConnection
Other database:
aws_db_cluster_status()
,
aws_db_instance_status()
,
aws_db_rds_create()
,
aws_db_rds_list()
,
aws_db_redshift_con()
,
aws_db_redshift_create()
## Not run:
con_rds <- aws_db_rds_con("<define all params here>")
con_rds
library(DBI)
library(RMariaDB)
dbListTables(con_rds)
dbWriteTable(con_rds, "mtcars", mtcars)
dbListTables(con_rds)
dbReadTable(con_rds, "mtcars")
library(dplyr)
tbl(con_rds, "mtcars")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.