Coder Social home page Coder Social logo

data_analysis_the_effect_of_weather_factors_on_restaurants's Introduction

How Weather affects Restaurant Ratings

Overview

In this project scenario, students will use actual YELP and climate datasets in order to analyze the effects the weather has on customer reviews of restaurants. The data for temperature and precipitation observations are from the Global Historical Climatology Network-Daily (GHCN-D) database. Students will use a leading industry cloud-native data warehouse system called Snowflake for all aspects of the project.

Data flow

1. data architect

alt text

2. data warehouse ODS ERD

alt text

3. data warehouse ERD

alt text

Descriptions

1. Screenshot of 6 tables created upon upload of YELP data

alt text

2. Screenshot of 2 tables created upon upload of climate data

alt text

3. SQL queries code that transforms staging to ODS_SCHEMA. (include all queries)

stage/*.sql

4. SQL queries code that specifically uses JSON functions to transform data from a single JSON structure of staging to multiple columns of ODS_SCHEMA. (can be similar to #3, but must include JSON functions)

stage/*.sql

5. Screenshot of the table with three columns: raw files, staging, and ODS_SCHEMA. (and sizes)

alt text

6. SQL queries code to integrate climate and Yelp data

ods/ods_ingest_from_stage.sql

7. SQL queries code necessary to move the data from ODS_SCHEMA to DWH_SCHEMA.

ods/*.sql

8. SQL queries code that reports the business name, temperature, precipitation, and ratings.

query/report_query.sql

Reference

https://docs.snowflake.com/en/user-guide/script-data-load-transform-json.html https://docs.snowflake.com/en/user-guide/data-load-internal-tutorial.html

data_analysis_the_effect_of_weather_factors_on_restaurants's People

Contributors

jominwoong avatar

Watchers

James Cloos 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.