Government websites as data: a methodological pipeline with application to the websites of municipalities in the United States

Markus Neumann, Fridolin Linder, Bruce Desmarais

Research output: Contribution to journalArticlepeer-review


The content of a government’s website is an important source of information about policy priorities, procedures, and services. Existing research on government websites has relied on manual methods of website content collection and processing, which imposes cost limitations on the scale of website data collection. In this research note, we propose that the automated collection of website content from large samples of government websites can offer relief from the costs of manual collection, and enable contributions through large-scale comparative analyses. We also provide software to ease the use of this data collection method. In an illustrative application, we collect textual content from the websites of over two hundred municipal governments in the United States, and study how website content is associated with mayoral partisanship. Using statistical topic modeling, we find that the partisanship of the mayor predicts differences in the contents of city websites that align with differences in the platforms of Democrats and Republicans. The application illustrates the utility of website content data extracted via our methodological pipeline.

Original languageEnglish (US)
JournalJournal of Information Technology and Politics
StateAccepted/In press - 2021

All Science Journal Classification (ASJC) codes

  • Computer Science(all)
  • Sociology and Political Science
  • Public Administration

Cite this