Skip to content

mmkon095/BitcoinPricing-Sentiment-DataPipeline

Repository files navigation

BitcoinPricing-Sentiment-DataPipeline

My goal for this project was to apply data engineering skills and a little bit of analytics to develop a simple ETL pipeline that extracts Bitcoin pricing and tweet data through an API and use AWS resources (EC2, S3, Redshift) to scrape the data and batch load it into a bucket then use Redshift to join data tables and finally visualize it in Tableau or any viz tool of your choice. Let me emphasize that everything is free using the AWS Free resources so anyone can get started on this.

Picture1

Requirements:

Contents:

  • scraper_price.ipynb - This notebook contains the bitcoin price scraping code

  • scraper_tweets.ipynb - This notebook contains the bitcoin tweets twitter scraping code

  • requirements.txt - This text file contains the python packages required to successful the notebook. Make sure to have this downloaded in your local directory

  • config.py - This python file contains all your secret codes, api keys and token keys

  • datawrangling_code.ipynb - This notebook contains the data manipulation code

  • Project Report.pdf - A summary of the project

How to run the jupyter notebooks:

  • Download the files locally and run cells in saved order. Please make sure to fill in the blank variable in the config.py script e.g api key, aws resource name etc.......

Key Project Takeaways:

  • There is a clear correlation between the change in bitcoin price to daily sentiment, this is not enough to assert causation. Next steps, would be to get data from other social media sources aside from Twitter

  • It may also be useful to think about each user's tweet metrics for example the amount of times the tweet was favorited, the number of followers the user has. You can use this to build an influence metric for each tweet