Giter Site home page Giter Site logo

googlecodelabs / bigquery-sheets-slides Goto Github PK

View Code? Open in Web Editor NEW
49.0 7.0 11.0 125.34 MB

Code repo for the Google Apps Script BigQuery-Sheets-Slides codelab application

Home Page: https://g.co/codelabs/bigquery-sheets-slides

License: Apache License 2.0

JavaScript 100.00%
gsuite apps google-apps google-apps-script apps-script gcp cloud bigquery sheets sheets-api

bigquery-sheets-slides's Introduction

Code that Final Mile: Big Data Analysis to Slide Presentation

This intermediate Google Apps Script codelab shows you how to build a sample app that demonstrates use of the Google BigQuery API to query a public data set and create a Google Slides presentation with the results data. A Google Sheet is used as an intermediary to store the analysis data as well as its ability to create charts on its data.

Pre-requisites

  • Access to the internet and a web browser
  • A Google account (G Suite accounts may require administrator approval)
  • Basic JavaScript skills

Description

BigQuery first performs a query on one of its public data sets; in this case, a query that determines the top 10 most common words in Shakespeare's works. BigQuery has a collection of public data sets, so you're free to issue other queries against this or any other data table you desire in doing this exercise. The app stores the query results from BigQuery into a newly-created Google Sheet. The Sheets API is then used to create a chart based on the results data. Finally, a new Google Slides presentation is created. A new slide is added whereby the the Sheet's cell data is imported. A second new slide is added embedding (and linking to) the chart from the Sheet.

This repo supports the developer codelab found at https://g.co/codelabs/bigquery-sheets-slides). Follow its step-by-step instructions and refer to the corresponding repo folder as necessary to see where your app should be at the end of each (major) step. The final subdirectory contains the completed, fully-working sample. When you run it, you should get a slide presentation that looks like this:

generated slide presentation

The manifest file (see below) stays constant throughout the codelab and thus is stationed at the top-level of this repo. There are 2 key files for this entire sample (while the rest are intermediary):

This application was also featured in a Google Cloud NEXT 2018 breakout session (although the demo was borked due to a permission problem): G Suite + GCP: Building Serverless Applications with All of Google Cloud. Here is the video for that talk.

Support

bigquery-sheets-slides's People

Contributors

asadullahnaweed avatar claywilkinson avatar davideast avatar gguuss avatar gkaldev avatar kunny avatar samthor avatar sliceslicebaby avatar wescpy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.