Git Product home page Git Product logo

cmpe255-hw1's Introduction

CMPE 255 - HW1 - Sarinder Virk

CREDITS:

This is a revision of https://github.com/tonyxu-io/react-bigquery-app by Tony XU [email protected]

Map code is from https://www.react-simple-maps.io/examples/usa-with-state-labels by Richard Zimerman

A Simple BigQuery App using React and Express


This app is based on the Google BigQuery app tutorial Create A Simple Application With the API and using Google Cloud Public Dataset - Stack Overflow

Demo

React-Bigquery-Demo

Supported queries:

  • Natality correlation: Ave_Age_of_Mother to Maternal_Morbidity_YN
SELECT
  CORR(a.area_deprivation_index_percent,
    b.Ave_Age_of_Mother) corr,
    a.year,
    a.state
FROM
  `bigquery-public-data.broadstreet_adi.area_deprivation_index_by_county` a
JOIN
  `bigquery-public-data.sdoh_cdc_wonder_natality.county_natality_by_maternal_morbidity` b
ON
  b.County_of_Residence_FIPS = a.county_fips_code
WHERE
  b.Maternal_Morbidity_YN = 1
group by
  a.year, a.state
  • Others? TBD

Install

  • Clone this repository
  • cd into root directory
  • npm install

Usage

Include Google Cloud Credential on Environment Variable

Follow instructions on Google Cloud Platform to get application credential application default credentials

You can also create a .env file and set as below:

GOOGLE_APPLICATION_CREDENTIALS = 'PATH/To/Your/JSON/Key/File'

Start Express Server

root directory:

npm start

Start React Client

cd ./client:

npm start

cmpe255-hw1's People

Contributors

sarinderv avatar

Watchers

 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.