Skip to content

Structural Topic Modeling of the Facebook posts of NC State Senators

Notifications You must be signed in to change notification settings

wesslen/NCStateSenateFacebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

I've created this GitHub respository that analyzes nearly 7,000 Facebook posts by NC State Senators between Jan 2014 to Dec 2016. Specifically, I use Structural Topic Modeling to identify the topics and estimate the effect party has on each topic's prevalence.

I haven't uploaded the data used onto GitHub but email me if you're interested in the raw data.

See either Part 1 or Part 2 below for the code and commentary.

HTML Outputs of NC State Senate Facebook Posts

Part Topics
Part 1 Pre-processing & Exploratory
Part 2 Structural Topic Modeling

For the code on how the data was pulled, see the file pullFacebook.R

Results

Time Series of the Number of Posts by Political Party

Facebook Topics

Effect of Party on the Topic Prevelance of Posts

Effect of Month on the Topic Prevelance of Top Republican Topics

Effect of Month on the Topic Prevelance of Top Democratic Topics

Comparison of HB2 and Bathroom Safety Topics

About

Structural Topic Modeling of the Facebook posts of NC State Senators

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages