Carceral-Ecologies / Carceral-OSHA-Data

GNU General Public License v3.0
2 stars 3 forks source link

Code of Conduct

README.md

About - Carceral Ecology

This repository aims to document the Carceral Ecology project, that is being developed by Professor Nicholas Shapiro, UCLA, and Professor Lindsay Poirier, UCD.

Incarcerated people are on the frontlines of environmental injustice. This systematic exposure of, at a minimum, tens of thousands of incarcerated individuals results from mass incarceration’s close ties with declining, but very much ongoing, industrialism. Often built atop the brownfields of former manufacturing facilities or mines or on the cheap land next to operating facilities, prisons serve as a “recession-proof” employer to those laid off in deindustrialization beginning in the 1970s. This project seeks to assess the environmental hazards of mass incarceration on a national scale.

This project has three main arms:

  1. Envrionmental monitoring
  2. Iterative study design with stakeholders
  3. Data analysis of datasets that may cast light on the environmental conditions of prisons, jail, and detention centers.

It is the third component that has likely led you here. We are managing our work flow through the issues function. Thats probably the best place to start contributing.

About - The OSHA Project

This portion of the project is working on component three above, specifically extracting data from the Occupational Safety and Health Administration (OSHA) to cast light on conditions within prisons, jails, and other carceral facilities. This repo provides code that identifies carceral facilities within OSHA data for specific years, merges multiple OSHA data files into one dataset, provides tools for data cleaning (with a specific focus on facility name cleaning), and subsets the data by state (specifically California). The code results in a dataset of OSHA inspections and violations data for carceral facilities in California whose case was resolved after 2009.

This code may provide significant guidance for others who wish to build a similar dataset of OSHA inspections and violations. The steps here could serve as a guide for others who want to subset data to specific years or states or who want to subset data to other industries more broadly.

Additionally, we are building a Wiki which provides guidance on obtaining OSHA data, data quality issues, and a data dictionary.

Organization of files

Each script represents a stage in the data cleaning or analysis process. This section details the order in which to run the files. The OSHA_Data.Rproj is the project file.

Within the 1_Data_Creation_Cleaning folder there are two additional folders Cleaned_Data and Raw_Data. The Raw_Data are converted to Cleaned_Data using the numbered rscripts in this folder. You can learn about how to obtain OSHA data in our wiki. Here is order in which to run the files and brief explanation of what each file does.

How to Contribute

Code of Conduct

For any questions on decorum please see our Code of Conduct.

Contributors

Contributions Name
🔢 📋 🤔 Savannah Hunter
💻 Jared Joseph
🔢 📋 🤔 Lindsay Poirier
🔢 📋 🤔 Nick Shapiro

(For a key to the contribution emoji or more info on this format, check out “All Contributors.”)

Acknowledgements

Thank you to Konrad Franco (@klfranco) for his early-stage contributions to the project, for sharing his expertise, and in assisting with generating keywords for identifying carceral facilities in establishment names.

Thank you to Amay Kharbanda (@amayk13) for developing code to isolate facilities in California.

Thank you to Ivy Molina (@premolina492) for her research which provided context for understanding the coverage of OSHA enforcement and for researching how variables in the OSHA dataset are defined.

Thank you to Nathan Tran (@nathanqtran922) for his investigation and explortation into operationalizing toxicity and hazard using OSHA data.

Cite As

Savannah Hunter, Jared Joseph, Lindsay Poirier, & Nicholas Shapiro. (2021, May 27). Carceral-Ecology OSHA Data Extraction and Cleaning Tool (Version 0.0.2). Zenodo.DOI

License & Copyright

Creative Commons License Carceral Ecologies documentation in this repository is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file for details.