Skip to content
christianhelpPublic

About

r/Slang is a Python-powered dynamic map visualization of regional word usage on Reddit. It retrieves Reddit posts and comments with a user-determined slang term and generates a heat map based on popularity relative to the population of each state (word usage as a % of all posts).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

r/Slang

r/Slang is a Python-powered dynamic map visualization of regional word usage on Reddit. It retrieves Reddit posts and comments with a user-determined slang term and generates a heat map based on popularity relative to the population of each state (word usage as a % of all posts).

Python JSON Adobe Photoshop

Requirements

snscrape requires Python 3.8 or higher. The Python package dependencies are installed automatically when you install snscrape.

Note that one of the dependencies, lxml, also requires libxml2 and libxslt to be installed.

If running on Windows, invoke setup script

.\env\scripts\activate

Installation

pip install snscrape

What's next for r/Slang

Our specific implementation focuses on all US states due to data acquisition constraints imposed by Reddit's API, but the underlying functionalities of our project can be applied to much wider scope through slight modifications. We would like to include a functionality where it displays the top 3 most upvoted Reddit posts (with the queried term) per state when hovering over each state.

About

r/Slang is a Python-powered dynamic map visualization of regional word usage on Reddit. It retrieves Reddit posts and comments with a user-determined slang term and generates a heat map based on popularity relative to the population of each state (word usage as a % of all posts).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages