Access and Query Amazon Athena via DBI/JDBC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metis.r
\title{Make a JDBC connection to Athena}
athena_connect(default_schema = "default", region = "us-east-1",
simple = FALSE)
\item{default_schema}{def schema}
\item{region}{AWS region (Ref: \url{})}
\item{simple}{pickup id/secret only or use temp token? (this will become more robust)}
Handles the up-front JDBC config
For all connection types it is expected that you have the following environment variables
defined (a good place is \code{~/.Renviron}):
\item \code{AWS_S3_STAGING_DIR}: the name of the S3 bucket where Athena can write stuff
\item \code{AWS_PROFILE}: the AWS profile ID in \code{~/.aws/credentials} (defaults to \code{default} if not present)
For \code{simple} == \code{FALSE} the expectation is that you're working with a managed
\code{~/.aws/credentials} file.
There's a high likelihood of params changing in the near term as I work this out, but I'm
not very keen on parameter-izing things like id/secret.