An open API service indexing awesome lists of open source software.

https://github.com/ovsundal/sparkify-sql-data-modelling

Data modelling with postgres
https://github.com/ovsundal/sparkify-sql-data-modelling

data-modeling etl-pipeline pandas postgresql psycopg2 python

Last synced: about 1 year ago
JSON representation

Data modelling with postgres

Awesome Lists containing this project

README

          

# Sparkify-data-modelling

This is project 1/5 of Udacitys Data Engineering Nanodegree. In this project a database for storing
music and artist records are created. Data is then extracted from the source, transformed using Pandas DataFrame, and loaded into the database. Two sets of data is used in the ETL process; song and log data. Song data provides song and artist information, while Log data is more extensive; providing covers song, artist and some metadata about each song. Log data is more extensive, providing artist and artist metadata.

#### Prerequisites for running the program
Prerequisites for running the project is python 3.x and postgres with a default database named "studentdb" available.

#### Starting the program
1. Execute "create_tables.py". This will create a fresh instance of the sparkifydb with empty tables.
2. Execute "etl.py". This will load the data into the tables