This function will package your HDC BigQuery project datasets allowing you to access all tables with functions. Each table is examined and relevant schema information is added to the package documentation. This allows for quick reference without having to open the BigQuery web interface. Additionally, RStudio's auto-complete feature may be used to accelerate table access.
package_bq_data(con, google_account_type, path = "~/", build = TRUE)
con | An EuReka::eureka_dbConnect object |
---|---|
google_account_type | Google account type or GSuite domain |
path | Where to create the package |
build | Should the package be built? TRUE/FALSE |
if (FALSE) { con <- eureka_dbConnect(project_id = 'your_project_id', google_account_type = 'your_account_credential_tag') EuReka::package_bq_data(con = con, google_account_type = 'your_account_credential_tag', path = '~/Desktop', build = T) }