Skip to content

(2020) Weekly word networks and LDA models to find topics inside political Medium articles.

Notifications You must be signed in to change notification settings

imjakedaniels/visualizing_politics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualizing political discourse every week

I'm looking to create node networks and LDA models to visualize weekly topics from Medium Politics articles.

Example

Example

I scrape a week's worth of Medium articles — ~1,000 articles, 400,000 words — then post these graphs to r/uspolitics

Packages

For node networks:

library(tidyverse)
library(ggraph)
library(igraph)
library(widyr)
library(tidytext)
library(ggrepel)
library(extrafont)

For LDA models (soon):

library(tidyverse)
library(topicmodels)
library(tidytext)
library(LDAvis)

About

(2020) Weekly word networks and LDA models to find topics inside political Medium articles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published