Giter Club home page Giter Club logo

imdb-etl's Introduction

imdb-etl

To Use

Create the database

docker-compose up

Start the spider by navigating to imdb_initial_etl/scraper

scrapy crawl imdb_spider

Crawler will take some time (as there are no proxies). Afterwards, move the .csv.gz file to ./transformations and run cleaning.py

python3 cleaning.py

Systems Architecture

Unnamed File

ERD

Database ER diagram (crow's foot)

TODO:

General

  1. better star schema adherence 1a. seperate plot and title out to make movie_info a imdb_fact table 1b. seperate basegenre out of rankings and make another dimension table
  2. Bashscript to run scraper and move file to cleaner
  3. Schedule a cronjob to do this at a regular interval
  4. Migrate to AWS
  5. Institute a manager like Airflow

Scraper

  1. Fix list output
  2. Add S3 bucket file dumping
  3. More informative logging and dump it to a database

Cleaner

  1. Company name extraction handle foreign companies
  2. Optimize for speed
  3. Institute unit tests, and more rigorous validation
  4. More informative logging and dump to a database

Other Notes:

imdb-etl's People

Contributors

andrewshrout 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.