Skip to content

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

Notifications You must be signed in to change notification settings

christianhelp/r-Slang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •