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.

Data

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
  2. Missing permutations of names in the members data can be added in nameCongress.R or noted in #9
  3. Common typos can be corrected in MemberNameTypos.R
  4. If the pattern exists, but extractMemberName() fails to find it, note this in #62

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