Skip to content

Testing Jon Haidt's Moral Foundations Theory using tweets collected from active Republican and Democratic senators in the United States. Includes scraped tweets sorted into two spreadsheets (one for each party) and R code to run the regression.

Notifications You must be signed in to change notification settings

skylarcheung/Political-Leaning-of-Senators-Tweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Political-Leaning-of-Senators-Tweets

Code tests Jon Haidt's Moral Foundations Theory using tweets collected from active Republican and Democratic senators in the United States.

Includes scraped tweets sorted into two spreadsheets (one for each party) and R code to run the regression. Hello Github friend, this is fairly straightforward—or at least, it should be.

Import both spreadsheets before running code. Excluded is the spreadsheet containing independent tweets, but I can make them available if you please. Lots of comments in the code, should be helpful. Please don't share either the spreadsheets or the code without permission.

Tons of credit to Joshua Kazdan, who helped write the code that made all the collected tweets worth something.

About

Testing Jon Haidt's Moral Foundations Theory using tweets collected from active Republican and Democratic senators in the United States. Includes scraped tweets sorted into two spreadsheets (one for each party) and R code to run the regression.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages