{"id":25290537,"url":"https://github.com/wesslen/ncstatesenatefacebook","last_synced_at":"2025-10-20T10:03:51.934Z","repository":{"id":81790231,"uuid":"77778165","full_name":"wesslen/NCStateSenateFacebook","owner":"wesslen","description":"Structural Topic Modeling of the Facebook posts of NC State Senators","archived":false,"fork":false,"pushed_at":"2017-03-17T15:15:53.000Z","size":22220,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T00:30:15.483Z","etag":null,"topics":["structural-topic-modeling"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wesslen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-01T12:35:41.000Z","updated_at":"2022-05-19T15:50:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bd38c62-b753-4863-84b6-19fe5e007d60","html_url":"https://github.com/wesslen/NCStateSenateFacebook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FNCStateSenateFacebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FNCStateSenateFacebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FNCStateSenateFacebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FNCStateSenateFacebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesslen","download_url":"https://codeload.github.com/wesslen/NCStateSenateFacebook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247527256,"owners_count":20953222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["structural-topic-modeling"],"created_at":"2025-02-13T00:26:42.313Z","updated_at":"2025-10-20T10:03:46.880Z","avatar_url":"https://github.com/wesslen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nI'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](http://www.structuraltopicmodel.com/) to identify the topics and estimate the effect party has on each topic's prevalence.\n\nI haven't uploaded the data used onto GitHub but email me if you're interested in the raw data.\n\nSee either Part 1 or Part 2 below for the code and commentary.\n\n## HTML Outputs of NC State Senate Facebook Posts\n\n| Part                | Topics                                                          |\n| --------------------| --------------------------------------------------------------- |\n| Part 1              | [Pre-processing \u0026 Exploratory](https://htmlpreview.github.io/?https://github.com/wesslen/NCStateSenateFacebook/blob/master/code/STM-ncsenate-facebook-part1.html)              |\n| Part 2   | [Structural Topic Modeling](https://rawgit.com/wesslen/NCStateSenateFacebook/master/code/STM-ncsenate-facebook-part2.html)    |\n\nFor the code on how the data was pulled, see the file [pullFacebook.R](code/pullFacebook.R)\n\n## Results\n\n![Time Series of the Number of Posts by Political Party](img/STM-senate2.png)\n\n![Facebook Topics](img/STM-senate3.png)\n\n![Effect of Party on the Topic Prevelance of Posts](img/STM-senate4.png)\n\n![Effect of Month on the Topic Prevelance of Top Republican Topics](img/STM-senate5.png)\n\n![Effect of Month on the Topic Prevelance of Top Democratic Topics](img/STM-senate6.png)\n\n![Comparison of HB2 and Bathroom Safety Topics](img/STM-senate7.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesslen%2Fncstatesenatefacebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesslen%2Fncstatesenatefacebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesslen%2Fncstatesenatefacebook/lists"}