Skip to content

diamondback-data-desk/fec_story

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Almost all UMD employee political donations go to Democrats

By Eric Neugeboren

The Diamondback

Data Cleaning:

The Diamondback obtained political donations data from the Federal Election Commission and the Maryland Campaign Reporting Information System. These databases track individual political donations to federal, state and local campaigns and committees.

For both databases, we limited the dates of the contributions from 2013 to 2022. This meant the analysis would consist of donations from the past decade. The data also filtered the data from both sources for individuals who listed the University of Maryland as their employer.

To eliminate possible non-university employees, we utilized The Diamondback's salary guide, which has been maintained since 2013, to match employee donations to employee salaries.

Some names were slightly inconsistent across datasets but were near matches, so we changed the format of employee names on both salary and donations spreadsheets. This was necessary to match an individual’s political donation with their title and salary at the University of Maryland. To do so, we used stringr functions. The str_split_fixed function was used to divide a contributor’s name into three fields: first name, last name, and any extraneous parts of a name (such as middle initial or title). The str_replace function removed any commas in the names.

The next step was joining the datasets. We joined together the FEC data, salary guide data and state-level data. We joined the datasets by “first name” and “last name,” which ensured the people included in the resulting dataset were University of Maryland salaried employees who submitted political donations in a given year. We repeated this process from 2013 to 2022.

Analysis:

FEC and state databases do not include party affiliations for campaigns or committees. Because of this, we manually assigned party affiliations to donors using resources such as ballotpedia.org, opensecrets.org and candidate profiles on federal and state government websites. Some committees were not directly related to a party, so they were coded as nonpartisan.

Other analyses included determining where the donations came from at the university. To do so, we grouped the data by university division, which showed us the number of donations that came from employees at a particular university division, such as a specific college or entity such as Student Affairs and Facilities Management. We also grouped the data by contribution year and employee name, and summed the donations in a given year.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published