We introduce the Digitally Accountable Public Representation (DAPR) Database, an innovative archive that systematically tracks and analyzes the online communications of federal, state, and local elected officials in the U.S. Focusing on X/Twitter and Facebook, the current database includes 28,834 public officials, their demographic information, and 5,769,904 Tweets along with 450,972 Facebook posts, dating from January 2020 to December 2024. The database integrates three interconnected datasets: metadata on elected officials, weekly aggregated X data, and weekly aggregated Facebook data.
Amid national gridlock on climate policy, state legislatures have become increasingly central to climate governance—yet we know little about how state legislators communicate climate issues online. Drawing on 6,177,988 social media posts from 6,353 legislators on Facebook and X (formerly Twitter) between 2020 and 2023, we fine-tune a large language model to classify climate-relevant content and stance. Among nearly 58,000 labeled posts between 2020 and 2021, 34,165 were supportive and 11,573 opposing, with clear variation across platforms.