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
)

Arguments

project_id

A Google Cloud Project ID

dataset_id

A Google BigQuery Dataset ID

bigint_type

CAST large integers to this type

  • integer

  • integer64

  • numeric

  • character (usually the best choice)

google_account_type

Google account type or GSuite domain

Value

A DBI connection object

Examples

# 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") }