Coder Social home page Coder Social logo

digideskio / 2017-11-federal-employee-diversity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buzzfeednews/2017-11-federal-employee-diversity

1.0 2.0 0.0 32 KB

Data and analysis supporting the BuzzFeed News article, "The Agriculture Department Hired More Than 50 Political Appointees. They All Say They're White.," published November 15, 2017

Home Page: https://www.buzzfeed.com/jsvine/agriculture-department-political-appointee-diversity

Makefile 1.14% Jupyter Notebook 98.86%

2017-11-federal-employee-diversity's Introduction

Analysis of Political Appointee Demographics

This repository contains data and analysis supporting the BuzzFeed News article, "The Agriculture Department Hired More Than 50 Political Appointees. They All Say They're White.," published November 15, 2017. See below for more details.

Data

The data in this repository comes from the Office of Personnel Management's FedScope tool. The data on racial/ethnic diversity come from FedScope's "Diversity Cubes", and the data on gender come from the "Employment Cubes".

Raw data

The files in the data/raw directory were obtained by using each of those "cubes" to cross-tabulate the employment counts for each "Type of Appointment" by demographic.

A few relevant links:

Processed data

The files in the data/processed calculate the proportions of employees who identified as minorities/female, for each fiscal quarter, for two aggregated groups:

  • "Permanent" employees (see link above for definition)
  • Mid-level political appointees (see below for definition)

The Python code used to make these calculations can be found here.

Defining "mid-level political appointees"

According to correspondence with the Office of Personnel Management, there are two "type of appointment" categories that are composed entirely of political appointees:

When the analysis refers to mid-level political appointees, it refers to the combination of these two categories.

Note re. other political appointees

In addition, according to OPM, there are four other "type of appointment" categories that may, at times, include political appointees:

  • Permanent "Excepted Service - Executive"
  • Non-permanent "Excepted Service - Executive"
  • "Senior Executive Service - Limited Term
  • "Senior Executive Service - Limited Emergency"

Unfortunately, among these categories, it is not possible to distinguish between political appointees and non-appointees in the FedScope data.

Reproducibility

To reproduce the calculations, you'll need to do the following:

  • Ensure that you have installed Python and the Python libraries listed in requirements.txt.
  • Clear the data/processed directory. (Shortcut: run make clear.)
  • Re-run the data-processing notebook in the notebooks/. (Shortcut: run make reproduce; requires Python 3.)

Feedback / Questions?

Contact Jeremy Singer-Vine at [email protected].

Looking for more from BuzzFeed News? Click here for a list of our open-sourced projects, data, and code.

2017-11-federal-employee-diversity's People

Contributors

jsvine avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.