GithubHelp home page GithubHelp logo

mleopol1 / amazon-customer-reviews-etl Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

The project involves performing the ETL process on Amazon product review datasets by extracting the data, transforming it into different Spark DataFrames using a provided schema, and uploading the DataFrames into an RDS instance.

Jupyter Notebook 100.00%
amazon-rds amazon-s3 etl spark big-data

amazon-customer-reviews-etl's Introduction

Amazon Customer Reviews ETL

In this repository, ETL (Extract, Transform, and Load) is performed on two Amazon customer review datasets. The goal of this project is to perform the ETL process completely in the cloud and upload a DataFrame to an RDS instance.

Datasets

Two datasets from Amazon Reviews are used:

  • Amazon Video Games Reviews
    • Used in the "part_one_video_games.ipynb" file
  • Amazon Musical Instruments Reviews
    • Used in the "part_one_musical_instruments.ipynb" file

Extract

To begin, the datasets are imported using the correct header and sep parameters. The number of rows in each dataset is then counted.

Transform

For each dataset, the schema.sql file located in the Resources folder is used to create the following four DataFrames:

  • review_id_df with the appropriate columns and data types.
  • products_df that drops the duplicates in the product_id and product_title columns.
  • customers_df that groups the data on the customer_id by the number of times a customer reviewed a product.
  • vine_df that has the review_id, star_rating, helpful_votes, total_votes, and vine columns.

Load

Finally, each DataFrame is exported into the RDS instance to create four tables for each dataset.

References

Amazon Customer Reviews Dataset. (n.d.). Retrieved April 08, 2021, from: https://s3.amazonaws.com/amazon-reviews-pds/readme.html

amazon-customer-reviews-etl's People

Contributors

mleopol1 avatar

Watchers

 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.