Skip to content

jgarabedian/blm-twitter

Repository files navigation

BLM Twitter

This application was built to analyze how different parts of the country were tweeting about the Black Lives Matter movement.

Build Version Deployment License

The Strategy

The goal is to continue learning python and use it to gain insight into a subject I'm very interested in. By taking a sample of tweets from different cities, my hypothesis is that different areas of the country feel different about BLM at different times. So once we take the random sample of tweets, run a sentiment analysis on the content of the tweet to determine the differences between the cities.

Getting Started

We take advantage of the virtual env (I use venv myself) and highly recommend PyCharm for this application. Install the packages from requirements.txt and run through app,py.

Twitter API

We utilize Tweepy to pull in the latest tweets that we analyze for this application. Was super helpful/easy and I highly recommend!

Natural Language Processing

For the Natural Language Processing, we utilize TextBlob to make things nice and simple. Once again, highly recommend this for beginners, but always looking for improvement on this.

Visualizations

We've been a fan of plotly recently because of the vast documentation and (which is a theme) how simple it is to get up and running.

Contributions

I welcome anyone who wants to contribute!! I also encourage any suggestions or improvements, as I'm young in my journey and looking to learn.

Support my hosting costs 😏

Buy Me A Coffee