This function will assist in creating a DBI connection object by allowing you to specify which cached Google credentials to use.
eureka_dbConnect( project_id, dataset_id = NULL, bigint_type = "character", google_account_type )
project_id | A Google Cloud Project ID |
---|---|
dataset_id | A Google BigQuery Dataset ID |
bigint_type | CAST large integers to this type
|
google_account_type | Google account type or GSuite domain |
A DBI connection object
# Create a DBI connection object with user credentials tagged with 'hdcuser' if (FALSE) { eureka_dbConnect(project_id = "sandbox-nlp", dataset_id = "MIMIC3", bigint_type = "character", google_account_type = "hdcuser") }