Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using BigQuery with R for Analyzing Data

I plan to use Google BigQuery (please feel free to suggest non Amazon non Azure services including by Google ) to do the following- a) Analyze using R specifically for data mining, dashboards and text mining.

Both R and Google platforms are a fixed given.

My question is how and where do I find how to use R with Google Big Query. I read the RCurl documentation but got a bit flummoxed. Do you have a single use case for simple tasks that can be done with R and Google BigQuery.

like image 225
Ajay Ohri Avatar asked Jun 11 '12 10:06

Ajay Ohri


Video Answer


2 Answers

R has a new BigQuery client: https://github.com/hadley/bigrquery.

(previous answer "google-bigquery-r-client" doesn't exist anymore)

like image 184
Felipe Hoffa Avatar answered Oct 06 '22 01:10

Felipe Hoffa


I don't know if this is actual or not, but You can use BigQuery over JDBC too with RJDBC. Check this project for the BigQuery JDBC driver: https://code.google.com/p/starschema-bigquery-jdbc/

You can even use the Query Transformation Engine which converts the usual SQL92 queries into bigquery compatible. Hopefully it solves your problem.

More info about R and JDBC: http://www.rforge.net/RJDBC/

like image 35
Balazs Gunics Avatar answered Oct 06 '22 02:10

Balazs Gunics