BigQuery tricks: Pull daily Google Finance Data without an import job (use a spreadsheet instead)

Felipe Hoffa
Sep 2, 2016 · 2 min read

BigQuery can read data from Google Spreadsheets. Google Spreadsheets can read data from arbitrary sources — like Google Finance — and keep it updated. Hence BigQuery can read data from Google Finance and keep it updated with a simple setup.

Credits: I adapted this trick from a Tableau tip from @HighVizAbility. See his post for detailed instructions. Thanks Jeffrey for the tip— and thanks @vambenepe for forwarding it.

How-to

1. Have a Google Spreadsheet that reads from Google Finance

2. Connect the spreadsheet to Google BigQuery

3. Query

SELECT * 
FROM [fh-bigquery:public_dump.goog]

Bonus: Correlate stock prices to Wikipedia pageviews

More?

Want more stories? Check my medium, follow me on twitter, and subscribe to reddit.com/r/bigquery. And try BigQuery — every month you get a full terabyte of analysis for free.

Google Cloud - Community

Google Cloud community articles and blogs

Google Cloud - Community

A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.

Felipe Hoffa

Written by

Data Cloud Advocate at Snowflake ❄️. Originally from Chile, now in San Francisco and around the world. Previously at Google. Let’s talk data.

Google Cloud - Community

A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.