Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Getting started in R

  1. If needed, install the bigrquery package.
 # The currently released version 0.3.0 does not yet have the parameter
 # to use Standard SQL instead of Legacy SQL, so we install from github.
 library(devtools)
 install_github('rstats-db/bigrquery')
  1. From the R prompt set the working directory and run the script:
setwd("path/to/getting-started-bigquery/R")
source("getting-started.R")
GettingStarted("your-project-id")

Troubleshooting

  • If you see an Error: Access Denied response from the GettingStarted function, that means your Project ID is invalid. Follow the instructions in the top level README to get a valid Project ID.