correspondence

Analyzing hundreds of thousands of letters, emails, and phone calls between legislators and federal agencies.

View the Project on GitHub judgelord/correspondence

This repository contains code to merge, augment, and analyze data on congressional correspondence with the federal bureaucracy.

Publications using these data

  1. “How Shifting Priorities and Capacity Affect Policy Work and Constituency Service: Evidence from a Census of Legislator Requests to U.S. Federal Agencies”
  1. “Legislator Advocacy on Behalf of Constituents and Corporate Donors”

Data

(See AJPS Dataverse linked)

Software

The FOIA data are cleaned using scripts in the repo and linked to other data via ICPSR numbers using the legislators R package: https://judgelord.github.io/legislators/

TODO

Tasks recently completed:

Want to help?

Here are some tasks that anyone can do:

For collaborators

All datasheets must have these columns:

Most datasheets have additional columns, such as the letter’s text, priority level, date of reply, or the person in the agency tasked with responding to the letter. Because such information is not consistent across agencies, these are dropped when sheets are merged. They can be added back in for a more detailed analysis of specific departments or agencies. For example, see the more detailed analysis of FERC.

Other columns required for applying the codebook are added by the function in prep sheets.R.

Cleaning

If extractMemberName() fails to match:

  1. Inspect the pattern variable. There are two main causes of failing to match:
  2. Missing permutations of names in the members data
  3. Typos There will eventually be a process for users to submit additional permutations and typos to the legislators package data. Until then, you can submit these as issues at https://github.com/judgelord/legislators/issues If the pattern exists, but extractMemberName() fails to find it, this may be a new or existing bug.

Where there is insufficient information to identify a letter’s date or author, the NOTES column should include “FOIA,” and commits tagging observations to FOIA should reference #76

Coding

Codebook

Data that are ready for coding should have an open issue named “apply codebook to AGENCY.”

Where there is insufficient information to code a letter, the NOTES column should include “FOIA” and #76 should be tagged in the “apply codebook” issue.

Validating

Example letter

Example logs