Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiyaghessan committed Nov 10, 2023
2 parents 181b2d4 + 3c24d97 commit 769dbf9
Show file tree
Hide file tree
Showing 4 changed files with 325 additions and 788 deletions.
21 changes: 8 additions & 13 deletions _datasets/pacs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 527 Political Action Committees
date: 2023-05-30 12:00:00
description: Electronic filings made by 527 organizations.
primaryCtaUrl: "../../catalogs/catalog-core.html"
primaryCtaUrl: "../../catalogs/catalog-pacs.html"
primaryCtaCaption: "File size: 246kb"
primaryLinks:
- text: "GitHub Repository"
Expand All @@ -13,26 +13,21 @@ primaryLinks:
href: "https://nccsdata.s3.us-east-1.amazonaws.com/public/pacs/tidy-data-dictionary.csv"
- text: "R Program"
href: "https://github.com/Nonprofit-Open-Data-Collective/irs-527-political-action-committee-disclosures/blob/main/parse-pol-org-disclosures.R"
- text: "Get Help"
href: "https://github.com/Nonprofit-Open-Data-Collective/irs-527-political-action-committee-disclosures/issues"
categories:
- elections
- campaign finance
- 501c4
featured: true
featuredOrder: 3
author:
- id: jlecy
- id: eboris
- id: mpost
- id: mpost
- id: jlecy
citation:
author: "Post, M. A., & Boris, E. T. (2022)."
container-title: "Nonprofit Political Engagement: The Roles of 501 (c)(4) Social Welfare Organizations in Elections and Policymaking. In Nonprofit Policy Forum (Vol. 14, No. 2, pp. 131-155). De Gruyter."
doi: 10.1515/npf-2021-0061
citation:
author: "Post, M. A., Boris, E. T., & Stimmel, C. L. (2023)."
container-title: "The advocacy universe: A methodology to identify politically active 501 (c)(4) organizations. Nonprofit and Voluntary Sector Quarterly, 52(1), 260-274."
doi: 10.1177/089976402110664
author: "Lecy, J.D. (2023)."
container-title: "Nonprofit Political Action Committee (PAC) Data: Parsing IRS 8871 and 8872 ASCII Files."
doi: 10.1515/xxx


---

Expand All @@ -48,7 +43,7 @@ Political Action Committees are formed when nonprofits, those typically incorpor

Once recognized they are required to continue filing IRS 990 forms like typical nonprofits, but they are also required to complete [Form 8872 disclosures](https://www.irs.gov/charities-non-profits/political-organizations/political-organization-filing-and-disclosure) described in tables **POL-ORGS-FM-8872**, **POL-ORGS-SCHED-A**, and **POL-ORGS-SCHED-B**.

The IRS regularly releases data on PAC activities described in Forms 8871 and 8872. Unfortunately, [data is released in complicated ASCII formats](https://forms.irs.gov/app/pod/dataDownload/dataDownload): data types are mixed by row and a small percentage of cases break the ASCII structure because of malformed data. To make this data available to the sector Jesse Lecy has written a parser to convert the raw files into well-structured tables.
The IRS regularly releases data on PAC activities described in Forms 8871 and 8872. Unfortunately, [data is released in complicated ASCII formats](https://forms.irs.gov/app/pod/dataDownload/dataDownload): data types are mixed by row and a small percentage of cases break the ASCII structure because of malformed data. To make this data available to the sector we have written a parser to convert the raw files into well-structured tables.

## Usage

Expand Down
166 changes: 87 additions & 79 deletions catalogs/catalog-pacs.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ <h2 class="anchored" data-anchor-id="activities-data">Activities Data</h2>
<p><a href="https://nccsdata.s3.us-east-1.amazonaws.com/public/pacs/2023-05-POL-ORGS-SCHED-A.csv" class="button"> SCHEDULE A </a></p>
<p><a href="https://nccsdata.s3.us-east-1.amazonaws.com/public/pacs/2023-05-POL-ORGS-SCHED-B.csv" class="button"> SCHEDULE B </a></p>
</section>
<section id="corrupted-rows" class="level2">
<h2 class="anchored" data-anchor-id="corrupted-rows">Corrupted Rows</h2>
<p>The following rows could not be parsed because of special characters or other issues that break the ASCII code:</p>
<p><a href="https://nccsdata.s3.us-east-1.amazonaws.com/public/pacs/2023-05-POL-ORGS-XX-NEED-FIXING.txt" class="button"> NEED-FIXING.txt </a></p>
<p><br></p>
<hr>
<p><br></p>
</section>
<section id="data-dictionaries" class="level1">
<h1>Data Dictionaries</h1>
<p>The <a href="tidy-data-dictionary.csv"><strong>data-dictionary.csv</strong></a> file is machine-readable version of <a href="https://github.com/Nonprofit-Open-Data-Collective/irs-527-political-action-committee-disclosures/raw/main/PolOrgsFileLayout.doc"><strong>PolOrgsFileLayout.doc</strong></a>.</p>
Expand All @@ -98,15 +106,15 @@ <h2 class="anchored" data-anchor-id="tables">TABLES</h2>
<h2 class="anchored" data-anchor-id="fm-8871">FM-8871</h2>
<table class="table">
<colgroup>
<col style="width: 17%">
<col style="width: 10%">
<col style="width: 14%">
<col style="width: 8%">
<col style="width: 16%">
<col style="width: 5%">
<col style="width: 3%">
<col style="width: 7%">
<col style="width: 17%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -678,15 +686,15 @@ <h2 class="anchored" data-anchor-id="fm-8871">FM-8871</h2>
<h3 class="anchored" data-anchor-id="sched-d">SCHED-D</h3>
<table class="table">
<colgroup>
<col style="width: 15%">
<col style="width: 8%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 32%">
<col style="width: 4%">
<col style="width: 3%">
<col style="width: 5%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 16%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -852,15 +860,15 @@ <h3 class="anchored" data-anchor-id="sched-d">SCHED-D</h3>
<h3 class="anchored" data-anchor-id="sched-e">SCHED-E</h3>
<table class="table">
<colgroup>
<col style="width: 11%">
<col style="width: 6%">
<col style="width: 36%">
<col style="width: 5%">
<col style="width: 17%">
<col style="width: 3%">
<col style="width: 2%">
<col style="width: 4%">
<col style="width: 11%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 18%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -938,15 +946,15 @@ <h3 class="anchored" data-anchor-id="sched-e">SCHED-E</h3>
<h3 class="anchored" data-anchor-id="sched-r">SCHED-R</h3>
<table class="table">
<colgroup>
<col style="width: 14%">
<col style="width: 9%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 30%">
<col style="width: 5%">
<col style="width: 3%">
<col style="width: 6%">
<col style="width: 14%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -1113,15 +1121,15 @@ <h3 class="anchored" data-anchor-id="sched-r">SCHED-R</h3>
<h2 class="anchored" data-anchor-id="fm-8872">FM-8872</h2>
<table class="table">
<colgroup>
<col style="width: 15%">
<col style="width: 8%">
<col style="width: 15%">
<col style="width: 7%">
<col style="width: 24%">
<col style="width: 4%">
<col style="width: 3%">
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
<col style="width: 11%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -1825,15 +1833,15 @@ <h2 class="anchored" data-anchor-id="fm-8872">FM-8872</h2>
<h3 class="anchored" data-anchor-id="sched-a">SCHED-A</h3>
<table class="table">
<colgroup>
<col style="width: 15%">
<col style="width: 8%">
<col style="width: 6%">
<col style="width: 6%">
<col style="width: 32%">
<col style="width: 4%">
<col style="width: 3%">
<col style="width: 5%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 16%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -2043,15 +2051,15 @@ <h3 class="anchored" data-anchor-id="sched-a">SCHED-A</h3>
<h3 class="anchored" data-anchor-id="sched-b">SCHED-B</h3>
<table class="table">
<colgroup>
<col style="width: 15%">
<col style="width: 8%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 32%">
<col style="width: 4%">
<col style="width: 3%">
<col style="width: 5%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 16%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -2264,15 +2272,15 @@ <h2 class="anchored" data-anchor-id="metadata">Metadata</h2>
<h3 class="anchored" data-anchor-id="header">HEADER</h3>
<table class="table">
<colgroup>
<col style="width: 6%">
<col style="width: 3%">
<col style="width: 14%">
<col style="width: 4%">
<col style="width: 56%">
<col style="width: 3%">
<col style="width: 2%">
<col style="width: 3%">
<col style="width: 6%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 34%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
<col style="width: 8%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -2405,15 +2413,15 @@ <h3 class="anchored" data-anchor-id="header">HEADER</h3>
<h3 class="anchored" data-anchor-id="footer">FOOTER</h3>
<table class="table">
<colgroup>
<col style="width: 13%">
<col style="width: 6%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 26%">
<col style="width: 6%">
<col style="width: 4%">
<col style="width: 7%">
<col style="width: 13%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 12%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr class="header">
Expand Down
Loading

0 comments on commit 769dbf9

Please sign in to comment.