Giter Club home page Giter Club logo

baltimore-police-overtime's Introduction

Baltimore Police overtime in fiscal years 2018 and 2019

Baltimore Sun analysis

By Christine Zhang

The Baltimore Sun obtained salary and overtime reords for around 3,000 police officers over fiscal years 2018 and 2019 from the Baltimore Police Department. Our analysis of these records provided information for a February 7, 2020 Baltimore Sun story titled "Baltimore police racked up overtime by working long hours with little oversight in past 2 years, records show."

The Sun's findings and analysis are available in the "analysis" markdown file in this repository: analysis.md. The pre-processing code is in the cleaning.R file in this repository.

Note: The Police Department's data contains inconsistencies and anomalies, primarily due to "historical edits," which represent overtime hours and pay for past overtime hours worked. Because we cannot rule out the possibility of that the amounts and hours worked line items are historical edits rather than hours actually worked over a given two-week time period, we decided to base the bulk of our analyses on information aggregated over each fiscal year. See analysis.md for more information.

If you'd like to run the code yourself in R, you can download the R Markdown file cleaning.R and analysis.Rmd along with the data in the input folder.

The raw datasets are saved in the input folder. The cleaned data to is in the output folder under overtime_fy2018.csv and overtime_fy2019.csv.

https://twitter.com/baltsundata

Community Contributions

There are many angles to explore with this data, beyond just the ones we looked into for our story.

Have something to contribute? Send us a pull request or contact us on Twitter @baltsundata or via email.

You can also fork a copy of this repo to your own account.

Licensing

All code in this repository is available under the MIT License. The data files are available under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

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.