Infrastructure for understanding the nonprofit ecosystem

1. Introduction

The US nonprofit sector includes about 1.9 million registered organizations, employs 12.5 million workers, and generates over $3.7 trillion in annual revenue. It accounts for roughly 5.2% of the national gross domestic product (GNP).1 Given its importance as the country’s third-largest employment sector, having better infrastructure to study the sector would offer countless future benefits.

This report provides an account of what data is currently available, our own efforts to improve and augment that data in useful ways, using a variety of machine-learning approaches. It’s also a summary of remaining research gaps and how we might address them in the future.

1.2 The proposal

GivingTuesday proposed to address this problem by building around three interconnected pillars:

  • Further development of 990 data infrastructure: cleaning, standardizing, and annotating the full historical IRS dataset to create a research-ready platform that other researchers, funders, and practitioners could extend.
  • A review of risks, gaps, and opportunities for more impactful funding: 
  • We produced a replicable account of what the data can and cannot show about where philanthropic resources flow — covered in a separate report — that we used as the basis for describing where they fall short.
  • Analysis of multiple vectors of support: 
  • examining how funding patterns vary across cause areas,
  • geographies, 
  • organizational types, and 
  • the populations served by organizations.

The intended outcomes were ambitious: a baseline map of the US giving ecosystem, published and available to the sector in 2026; a sustainable infrastructure for tracking trends in the nonprofit sector; and a roadmap identifying the highest-return data-collection investments the sector could make to fill the gaps that public data alone cannot address.

1.3 The approach

The work included both foundational and explorative phases.

The foundational phase was devoted to infrastructure: compiling and standardizing the full 990 dataset from 2012 to 2023; building and validating a suite of machine-learning classifiers to extend what the data could show; developing a locality model to assign geographic scope to each organization; and consulting with researchers across the sector to pressure-test our approaches and definitions.

The exploratory phase applied that infrastructure to generate substantive analysis across the three thematic areas: ecosystem-wide funding flows; geographic patterns of underservice; and trends affecting organizations serving marginalized populations.

Both phases were accompanied by continuous consultations and partnerships with relevant stakeholders, including data-sharing partnerships and four rounds with focus groups. The consultation and beta testing validated some of our approaches, while illuminating structural limitations of 990 data and where these limitations can be mitigated. These consultations also allowed the GivingTuesday team to build in the considerations of the final users — including technical, ethical, and political concerns — that reshaped the project’s thinking in ways that are explored below.

2. Building the data model

Building a research-ready platform from IRS 990 data required working through several layers of structural limitation in the underlying filings. The methodology developed here is itself a contribution to the field: a documented set of approaches that other researchers can replicate, adapt, and build on.

2.1 990 Data infrastructure

The core dataset used for this study is a full compilation and standardization of all publicly available 990 filings from 2012 to 2023, covering all major form types: the full 990-PC; the 990-PF for private foundations; the 990-EZ for organizations in the $50K–$200K revenue range; and the 990-N postcard filing for organizations with less than $50K in total revenue. For the 2023 tax year alone, this encompasses 636,229 organizations.

The team was able to extract and standardise this dataset by leveraging bespoke data pipelines to programmatically pull the data from the IRS, standardise it into tabular format, and release it to the public as thematic research-ready subsections of the data, or “datamarts.” The published datamarts are ready-to-use data files that organize the IRS Form 990 filings of U.S. nonprofits into practical cuts for research, and they are available for download on the 990 Data website. They are grouped by the type of tax form (the standard Form 990, the shorter 990-EZ, and the private foundation 990-PF) and by theme, including geography, grants and funds, personnel, and missions and programs. The collection covers each form’s core financial and organizational information, along with detailed tables on officers, employees, contractors, programs and grants, plus several supplementary schedules and a combined file spanning all form types. Each datamart is documented in a public data dictionary that explains every variable and where it appears on the original form.

The standardisation cleaned the obvious errors that present a barrier to use, including field definitions that have shifted across versions over the years, forms filed inconsistently, and missing data within the IRS releases. For example, only 92 of the 114 fields found in the current full 990 form align with the same form from 2003.

A particularly significant structural gap is that approximately 70% of organizations in the IRS Business Master File lack NTEE (National Taxonomy of Exempt Entities) cause-area classification codes. These codes are assigned at registration and are not updated, meaning even organizations that do have them may be miscategorized relative to their current work. One of the central methodological tasks of the project was extending cause-area classification to the full dataset at scale.

2.2 Merging external datasets

No single data source can answer all the questions this project sought to address. We integrated several external datasets to extend the reach of 990-based analysis and, in some cases, to provide independent validation of our own classifications. As such, this project also includes the cleaning, processing, and inclusion of external public and private datasets into the GivingTuesday environment. These include public data sets such as the BLS Business Employment Dynamics Nonprofit Sector Research Dynamics, US Census Tables/American Community Survey–County/CMA Estimates, AmeriCorps CPS Civic Engagement and Volunteering Survey, Federal Audit Clearinghouse Data, US Economic Development Administration data, Tracking Accountability in Government Grants System (TAGGS), and OpenCorporates proprietary data.

2.3 Annotating data with machine learning and NLP classifiers

Building on this infrastructure, the GivingTuesday team is developing novel technical approaches, including LLM methods, to further mine the 990 dataset. This will allow users to transform key fields into outputs that (1) will contribute to our activities in mapping the nonprofit ecosystem and (2) allow other researchers to accelerate their discovery of insights within the data. These key fields are chosen based on: their relevance to select research questions we have collected from subject matter experts; metrics that will allow users to address these research questions; and potentially useful segments that are not currently present in the IRS 990 data fields, and rather require extraction methods to prove useful to the general user.

The models we built or adapted represent a set of analytical capabilities that did not previously exist for the sector as a whole. A key design principle across all models is transparency about uncertainty. Every annotated value in the dataset is accompanied by a confidence score. This allows researchers who use this data to factor annotation error into their own analyses, rather than treating imputed classifications as ground truth.

3. What this exercise revealed

Building a research-ready platform from IRS 990 data required working through several layers of structural limitation in the underlying filings. While the methodology outlined above illustrates what researchers can do with these tools, the following sections outline what we discovered by investing in the foundation infrastructure rather than exclusively focusing on the data itself.

3.1 Infrastructure as an end goal

This exercise demonstrates how restructuring 990 data enables new lines of inquiry, such as:

  • Sector-level equity analysis
  • Geographic disaggregation of funding flows and localization of sector metrics
  • Longitudinal trend tracking of organizational capacity
  • Classification of organizations by whom they intended to serve

The project team provided a detailed analysis in a separate report as a proof-of-concept for sector-wide trend tracking and benchmarking. This also demonstrates how leveraging ML can augment social sector data. Questions for which researchers would previously have required months of bespoke data preparation can now be explored in days, updated periodically, and extended with interlays to related datasets. This is our vision for data infrastructure.

The indirect benefits are massive cost savings for thousands of research groups that can now select data without extensive cleaning, classifying, and restructuring. The reduced overhead shifts their work toward creating more meaningful insights. A shared data infrastructure yields compounded benefits to the whole field, as multiple research groups can effectively reproduce each others’ work and share exact instructions for recreating datasets, leading to higher rates of confirmation and fewer errors.

3.2 Infrastructure limitations

The structural limits to what is shown by any infrastructure built on existing public data is equally valuable, as no amount of modeling can overcome these issues. These are not gaps that better technology will close. They are gaps in what the data was ever designed to capture.

The IRS 990 form was designed for tax compliance, not sector research. It records what organizations report, not what they actually do or where they actually work. It captures annual snapshots, not the dynamics of funding across a year. It covers registered nonprofits, not the informal mutual aid networks, unregistered collectives, and fiscally sponsored projects that may be disproportionately important in underserved communities. And it provides no explicit demographic information about the people running organizations or those served.

Our detailed technical documentation explains the failed attempts, and provides our rationale for pivots. These serve as a foundation for others to further improve the data. It reflects our understanding of where the sector’s data needs to be rebuilt from outside sources, and where it can be refined from existing records.

3.3 Ethical data stewardship and tax data infrastructure

One of the most consequential dimensions of this project was considering the ethical hazards and practical risks of providing a new big dataset to the public. We conducted a series of focus groups with sector stakeholders — including researchers, nonprofit practitioners, funders, and community advocates — to explore the question of if and how we release and steward data about vulnerable populations. We heard a consistent message: ethical and judicious use of individual data — even when publicly accessible — is paramount to building the trust that organizations need to operate. Releasing inferred demographic data, however well-intentioned, posed real risks to the organizations and communities concerned. So we did not release this type of data.

This was not a conclusion we had anticipated. It added a third dimension to the project’s thinking about data infrastructure: apart from what data can or cannot reveal, what should be known, and how do we responsibly manage access to data? Responsible data stewardship in the social sector combines technical and governance questions to build a virtuous circle of trust between data practitioners and the people affected. Numerous court cases have affirmed that IRS data is owned by “the people,” but have not yet weighed into how we balance access with privacy — e.g. the right not to be doxxed or targeted for harassment or physical harm. We believe that organizations should control how they are presented on the Internet, including how sector data describes them. We are exploring mechanisms to allow proper oversight. This begins with knowing who is accessing what data within our infrastructure, which runs counter to our default “fully open” approach.

4. Research gaps & future directions

Years ago we began to consolidate IRS data into data marts that would make it easier for researchers, journalists, and practitioners to study the US nonprofit sector. Over the past year we worked with groups of these people to refine our data and identify ways to augment it. We use machine learning to annotate the data and fill in gaps in what gets reported, and are working on hosting this as an API. Along the way we identified four areas of need that we could improve in the future: Localization, Accessibility, Quality, and Stewardship.

4.1 Localization: Provide data at a community/local level

There’s so much complexity in this that we have barely scratched the surface. Most of those who address funding and service disparities act at a community level. One group that isn’t using our 990 infrastructure yet are the organizations themselves. To support community foundations — key local coordinating groups at the municipal level — we would need to summarize and restructure this data around geography and comparative (benchmarked) analysis. Outreach and familiarizing them with this data would take time, as would refining the offerings based on their feedback.

This local reference data might look like “community cards” for each metro area, similar to what others have done. Analogs include HRC’s equality index of 500 cities, ACEE’s clean energy scorecard, or AARP’s Livability Index of 42,000 communities. For this, we segmented the country into 227 metro areas, based on the first three digits of every local/place-based organization’s zipcode, with a population size range of about 500,000 to 2 million people. These provide better benchmarking than comparing states, and somewhat mitigate the huge differences between urban and rural areas for comparison. A prototype of this demonstrates that we can reliably highlight the strengths and weaknesses of each area, and that they tell a story about what each place needs. Creating these summaries was the easy part; maintaining them and doing annual updates requires ongoing support. And to ensure the sustained value of any tool, we would need to solicit feedback from end users from many of these communities, and implement improvements to fit their needs, and share use-cases with community practitioners.

What could community cards tell us that this national report cannot?

  1. Nonprofit strengths for each area (of the types of services we can track, which ones are well-represented in places where outside data sources reveal a pressing need)
  2. Community needs, aggregated from other longitudinal surveys and datasets.
  3. Strong alignment with needs; funding at or above national norms per cause area; important gaps (unaddressed needs) that can serve as focal points for local actors.
  4. Easy visual benchmarking; a report card for all social services, regardless of nonprofit or government agencies involved.

4.2 Accessibility: Expand and improve our annotated dataset, and provide it to the research community and app builders

Our report on findings incorporates annotated nonprofit data, filling significant gaps in IRS records. This was necessary to answer some of the key questions about the sector, namely, where are nonprofits embedded in communities as a crucial implementer of programs that improve life? What has happened to them over the past decade financially? And how does the ecosystem intersect with communities with the greatest unmet needs?

Understanding this ecosystem at a dense topical and geographic level would allow us and others to define the strengths and weaknesses of the ecosystem, and regularly report on metrics of sector health.

The remaining work here involves sustained hosting of the data with long-term funding to ensure it is available for years to come, gating access to it in a responsible and low-cost way, and incorporating improvements based on end-user feedback to ensure it is free of bugs and easy to use.

4.3 Data quality: Build expert collaborations to support the development of next-generation classifiers, imputation, and annotation

We are aware that our current findings only reflect a partial understanding of the depth and breadth of what the data contains. We want to improve the quality and depth of the data so that it enables a deeper understanding. This includes:

  • Collaboration with a community of experts, researchers, and practitioners who can advise and critique our approaches and our outputs.
  • Reimagining the current NTEE IRS scheme for classifying organizations’ work. We know this is only one way to organize work (for example, using SDGs gives a different perspective and shape to the whole ecosystem). We’d like to explore other ways to classify the sector and its work in collaboration with others. We would also favor using machine-learning efficacy scores to determine which ways of dividing data lead to the cleanest segmentation, and avoid assuming that our mental models reflect the best way to construct meaning out of a sea of information. The goal is to build schemas that are best-fit for the purposes of our end-users, and let the natural order in the data define the structure.
  • Expand the data we use by orders of magnitude (e.g. total website content, or the common crawl copy of the Internet, that is used to train AI/LLMs).

For more details, see “Details on refining our models” in the appendix.

4.4 Stewardship and Safeguarding

Creating deep granular data about a million organizations also increases the risk of its abuse. Not every intended social benefit is universally appreciated. In order to safeguard its use, we have to gate access to the extended data (that isn’t already public). For guidance on this, we found surprisingly few examples. Therefore, we think it is best to convene a group of interested parties and construct the best way to ensure that people who need nonprofit data for most purposes can access it, but those with malicious intent toward organizations or the people they serve can be identified and blocked. This is not trivial.

While we built the 990 infrastructure to support human researchers, we recognize that AI is increasingly our customer. Therefore we need to intentionally build a more semantic-web-enabled version of this that will minimize the errors AI makes in interpreting it. For example, AI will likely produce poor quality data from the raw data — which is tens of gigabytes and won’t fit in memory — but would do a better job using pre-calculated and well-annotated summary tables, similar to what the BLS reports (and used in this report). We should refactor our data, anticipating the most common ways that variables are tabulated and link them to data dictionaries, then test using LLMs to ensure they are discovered and incorporated into all the existing AI models that people will use. We don’t control those products or interfaces, but we do have the power to ensure our content is optimized for their use.

References

  1.  https://nonprofitquarterly.org/nonprofits-by-the-numbers-sectors-vital-role-in-american-life/ ↩︎