eureka_dbConnect: eureka_dbConnect

Description Usage Arguments Value Examples

View source: R/eureka_dbConnect.R

Description

This function will assist in creating a DBI connection object by allowing you to specify which cached Google credentials to use.

Usage

1
2
3
4
5
6
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

1
2
3
4
5
6
7
8
# Create a DBI connection object with user credentials tagged with 'hdcuser'
## Not run: 
eureka_dbConnect(project_id = "sandbox-nlp",
  dataset_id = "MIMIC3",
  bigint_type = "character",
  google_account_type = "hdcuser")
  
## End(Not run)

thewileylab/EuReka documentation built on Dec. 31, 2020, 8:35 a.m.