Giter Club home page Giter Club logo

nlrb-cats's Introduction

nlrb-rcases

Case files and code for NLRB union representation elections

This repository has copies of publicly available files from the National Labor Relations Board, holding closed-case records from the NLRB's various case-tracking databases. Also contained here are bash scripts for fixing the file encoding of those records and writing CSV-formatted files, and Stata scripts to convert those files into DTA format.

To build Stata DTA files from these zipped archives, run clean_R.sh. This will produce a series of CSV files. Note that that shell script presumes you have Unixy utilities in your command-line interface. Most should be installed by default. The exception is xml2csv, which is part of the xmlutils Python package. If you have Python installed, you can install it with "pip install xmlutils".

The Stata script cleanNLRBcsvs.do creates DTA files from these CSVs. Some of the resulting files are a good deal smaller than the CSV, some are larger (especially if the CSV had long strings). The file is structured such that you can selectively highlight and "do" the blocks for the files you want to create. Note that do-file assumes that you have nlrbLabels.do (which defines any needed value labels) in the same directory, and some user-written commands (mdestring, nlrbdate, rencode, and swapout) in your Stata ado-path.

I have included an old Excel file that describes each variable. This by itself will not give you a full understanding of the representation-election process, so take it with a grain of salt. For more explicit instructions as to what each variable means, please consult the NLRB itself, or consider perusing a tome like "How to Take a Case before the NLRB," available in better law and labor libraries.

nlrb-cats's People

Watchers

James Cloos 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.