Data Finder Project
Hello and welcome to another project, The 990 Data Finder. This is a hackathon project I worked on where I ended up working on getting the Data requested by the organizers. This blog is where I intend to explore problem-solving and an in-depth look into creating this data set.
This project is meant to bring transparency to non-profit data and show how it was aggregated together, IRS Form 990 serves as a public disclosure from nonprofits, detailing their operational structures and financial statuses.
It provides information on the organization’s mission, programs, and finances. Understanding this form is crucial for anyone looking into the nonprofit sector, be it for research, donation, or governance reasons.
The hackathon problem group that we were part of needed to find grant-related data from foundations and other nonprofits and the wages that nonprofits pay their employees:
A more technical depth to the problem can be broken into two parts:
Part 1: Searching for different foundations, where we would use the Data from 990-PFs, where we look for geographic locations, the grant application process, who it should be addressed to, submission deadlines, restrictions, and limitations, and if the foundations accept unsolicited requests for the fund, along with amounts and types of grants provided.
Part 2: Searching for nonprofit salaries, where we would use data from form 990s and 990 EZs, and we would look for Geographic Locations, Annual gross revenue, annual net revenue, Look for the names of people with titles such as Director, Chief Officer, Manager, Coordinator, etc.
So this was a very interesting and confusing problem as I was not sure where to start or where to even look for the data, fortunately, my Teammate KlebJ037 helped me out by finding the IRS link which had all the Form 990 Data along with helping with API documentation.
To get started we ended up finding an API called Propublica which is a nonprofit explorer API, we used this API to get names, previous year revenue and references for NTEE (National Taxonomy of Exempt Entities) codes to categorize based on which type of nonprofit.
Example usage of making API calls:
After getting this data I saved it to a CSV file so that I could append it with the other data that I got from the IRS.
Now onto the part where we get the rest of the data, I ended up creating an XML Based scraper that extracts the financial data (IRS Form 990 Series (e-file) XML format for the year 2023) from the IRS’s Form 990 Series (e-file) for the year 2023, We ended up retrieving Gross Revenue, Total Expenses, Net Revenue, Tax Year, Form Type, Salaries, etc.
Example snippet of the parser:
I also ended up doing something similar for the 990 PF records which was requested to be separate and ended up getting the data as requested.
The creation of the XML scraper was a major milestone in our project, and this was what allowed our team to be the best in our section, as we had a very comprehensive data set. This project is also quite significant as it helps bring transparency to the nonprofit world.
If you want to delve a bit further into the code and into contributing to this project feel free to check out the Github Repo.
This post dives into the 990 Data Finder, a tool for exploring nonprofit data through IRS Form 990s, where nonprofit financial data was extracted from the IRS website using a custom XML scraper and by leveraging APIs. This project successfully organized data to be used for further analysis. This project was done during a Hackathon.
Thank you for reading and look forward to further updates.