Hostname: page-component-6766d58669-76mfw Total loading time: 0 Render date: 2026-05-18T13:26:46.065Z Has data issue: false hasContentIssue false

Using Social Media Data to Reveal Patterns of Policy Engagement in State Legislatures

Published online by Cambridge University Press:  18 October 2022

Julia Payson*
Affiliation:
Department of Politics, New York University, New York, NY, USA
Andreu Casas
Affiliation:
Department of Communication Science, Vrije Universiteit Amsterdam, Amsterdam, Netherlands
Jonathan Nagler
Affiliation:
Department of Politics, New York University, New York, NY, USA
Richard Bonneau
Affiliation:
Biology and Computer Science, New York University, New York, NY, USA
Joshua A. Tucker
Affiliation:
Department of Politics, New York University, New York, NY, USA
*
Corresponding author: Julia Payson, email: julia.payson@nyu.edu
Rights & Permissions [Opens in a new window]

Abstract

State governments are tasked with making important policy decisions in the United States. How do state legislators use their public communications—particularly social media—to engage with policy debates? Due to previous data limitations, we lack systematic information about whether and how state legislators publicly discuss policy and how this behavior varies across contexts. Using Twitter data and state-of-the-art topic modeling techniques, we introduce a method to study state legislator policy priorities and apply the method to 15 US states in 2018. We show that we are able to accurately capture the policy issues discussed by state legislators with substantially more accuracy than existing methods. We then present initial findings that validate the method and speak to debates in the literature. The paper concludes by discussing promising avenues for future state politics research using this new approach.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press and State Politics & Policy Quarterly
Figure 0

Table 1. Key features of the states selected for the analysis

Figure 1

Table 2. State legislator twitter activity by state and party

Figure 2

Figure 1. Architecture of the convolutional neural net predicting the policy topics discussed in tweets by state legislators.

Figure 3

Table 3. Public datasets coded using the CAP 21-issue classification, used for training and testing a classifier predicting Policy Issues in tweets from state legislators

Figure 4

Table 4. Out of sample accuracy of best-performing CNN model we trained predicting the political topics of the CAP

Figure 5

Table 5. Class accuracy and f-score for the best-performing model

Figure 6

Table 6. Top distinctive features of tweets predicted by the CNN to be about each topic or policy area

Figure 7

Figure 2. Logistic regressions (left panel) and linear models (two right panels) predicting which legislators are on Twitter (binary outcome), how active they are on the platform (count variable), and how often they use it to discuss policy issues (proportion of tweets about one of the CAP policy areas). Note: The top three rows (above the dotted line) are state-level covariates, while the other covariates measure individual-level attributes. Results of the “Being on Twitter” model are based on 1,267 legislators for which all covariates are available. Results for the “Being Active: Num. Tweets” are based on 998 legislators (those from the previous model that are on Twitter). The results of the final model are based on 829 legislators (those from the previous model that sent more than one tweet in 2018). For continuous variables, we calculate the marginal effect of a one standard deviation change (Legislative professionalization, Number of committees, Seniority, and Electoral margin of victory). For binary and categorical variables, we calculate the marginal effect of belonging to that category (i.e., being a Democrat rather than a Republican). Coefficient tables for these regressions are available in Supplementary Table B1.

Figure 8

Figure 3. Ordinary least squares (OLS) models predicting the proportion of tweets legislators dedicate to discussing each topic as a function of being on a committee on the topic, plus the covariates included in the models in Figure 2. Standard errors clustered by state. Note: We estimated a separate OLS model for each topic, and we report in the figure the coefficient for the variable indicating whether the legislator served in a committee about that topic. The coefficient for the Housing policy area (estimate of 22.7 with a confidence interval from 12.6 to 32.7) has been excluded because its large value made it difficult to interpret the rest of the coefficients.

Figure 9

Figure 4. Proportion of attention that legislators from each state devoted to each issue area in 2018.

Figure 10

Figure 5. Percentage of policy-related tweets on each topic: Members of Congress and State Legislators. Note: On the left panel, darker bars indicate how much of the policy-related tweets from State Legislators are about each topic. Lighter bars indicate the attention paid by Members of Congress.

Supplementary material: Link

Payson et al. Dataset

Link
Supplementary material: PDF

Payson et al. supplementary material

Online Appendix

Download Payson et al. supplementary material(PDF)
PDF 101 KB