OsamaHamdyOsman / DEND-Project_2_Data_modelling_Cassandra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEND-Project_2_Data_modelling_Cassandra

This is the second project submission for the Data Engineering Nanodegree.

This project consists of putting into practice the following concepts:

  • Data modeling with Cassandra
  • ETL pipeline using Python

Summary

The objective of this project is to create a NoSQL analytics database in Apache Cassandra for a fictional music streaming service called Sparkify. Sparkify's analytics team seeks to understand what, when and how users are playing songs on the company's music app. The analysts need an easy way to query and analyze the songplay data, which is currently stored in raw csv files on a local directory.

As the data engineer assigned to the project, I have implemented an ETL pipeline in python to pre-process the data using pandas. The database tables are modeled on the queries according to the principle of one table per query. I selected the primary and clustering keys for each table in order to ensure a unique identifier for each row.

Project structure

  1. event_data folder nested at the home of the project, where all needed data reside.
  2. Project_1B_ Project_Template.ipynb the code itself.
  3. event_datafile_new.csv a smaller event data csv file that will be used to insert data into the Apache Cassandra tables.
  4. images a screenshot of what the denormalized data should appear like in the event_datafile_new.csv.
  5. README.md current file, provides discussion on my project.

About


Languages

Language:Jupyter Notebook 100.0%