Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

SimplifyData/Data-Modeling-with-Postgres

Repository files navigation

Introduction A startup called Sparkify wants to analyze the data they've been collecting on songs and user activity on their new music streaming app. The analytics team is particularly interested in understanding what songs users are listening to. Currently, they don't have an easy way to query their data, which resides in a directory of JSON logs on user activity on the app, as well as a directory with JSON metadata on the songs in their app.

They'd like a data engineer to create a Postgres database with tables designed to optimize queries on song play analysis, and bring you on the project. Your role is to create a database schema and ETL pipeline for this analysis. You'll be able to test your database and ETL pipeline by running queries given to you by the analytics team from Sparkify and compare your results with their expected results.

Project Description In this project, I applied what I've learned on data modeling with Postgres and built an ETL pipeline using Python. To complete the project, I will defined fact and dimension tables for a star schema for a particular analytic focus, and write an ETL pipeline that transfers data from files in two local directories into these tables in Postgres using Python and SQL.

The choice of 1 Fact Table relation to Many Dimension Tables here in this project helped to keep data consistent and helped me achieve 2nd Normal Form. All the data is atomic, and each table has a primary key.

https://github.com/yuralim/udacity_dend_project1 https://github.com/brfulu/postgres-data-modeling https://stackoverflow.com/questions/2979369/databaseerror-current-transaction-is-aborted-commands-ignored-until-end-of-tra

About

Data Engineer - SQL Data Modeling - Star Schema - 2NF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published