IRS Exempt Organization File Converter
This uses csvkit's in2csv utility to parse the fixed-width files listing tax-exempt organizations from the IRS into CSVs.
Steps
- Download Region Files from irs.gov
- Unzip those files
- Clone ffs someplace
- Clone this repo some other place
- cd into this repo, create and activate virtualenv, run
pip install -r requirements.txt
- Run the following commands:
bin/in2csv -f fixed -s /path_to/irs_exempt_org_schema.csv /path_to/EO1.LST > eo1.csv
bin/in2csv -f fixed -s /path_to/irs_exempt_org_schema.csv /path_to/EO2.LST > eo2.csv
bin/in2csv -f fixed -s /path_to/irs_exempt_org_schema.csv /path_to/EO3.LST > eo3.csv
bin/in2csv -f fixed -s /path_to/irs_exempt_org_schema.csv /path_to/EO4.LST > eo4.csv