GithubHelp home page GithubHelp logo

udacity-data-engineer-project-2's Introduction

Overview

ETL jobs to move Sparkify's data describing songs and logging user actions into the cloud and prepare this data for analytical queries.

Usage

Create empty tables in the Redshift cluster:

>>> python create_tables.py

ETL the data from S3 into the staging tables and then transform it and populate the dimensional tables:

>>> python etl.py

Configurations for the S3 buckets and Redshift cluster are set in a non-version-controlled file, dwh.cfg. All SQL queries used in the process are in sql_queries.py.

Infrastructure

Our company stores raw data about songs and user activity on S3 in:

  • s3://udacity-dend/song_data
  • s3://udacity-dend/log_data

We provide JSON paths for the log data in: s3://udacity-dend/log_json_path.json

This script loads that data in a raw format into staging tables on redshift. Then, in a second step, it inserts the data into dimensional tables, in the following format:

Fact Table

  • Songplays

Dimensional Tables

  • Songs
  • Artists
  • Users
  • Time

udacity-data-engineer-project-2's People

Contributors

samsteyer avatar

Watchers

 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.