Connect to Peekbank
connect_to_peekbank(db_version = "current", db_args = NULL, compress = TRUE)
db_version | String of the name of database version to use |
---|---|
db_args | List with host, user, and password defined |
compress | Flag to use compression protocol (defaults to TRUE) |
con A DBIConnection object for the peekbank database
# \donttest{ con <- connect_to_peekbank(db_version = "current", db_args = NULL)#>#> [1] TRUE# }