jcbowyer's picture
Clean HuggingFace deployment without binary files
e59d91d
|
Raw
History Blame Contribute Delete
5.03 kB
---
sidebar_position: 2
---
# Combining Data Sources
Each integration is useful on its own, but the distinctive value of Open Navigator
comes from **joining them**. Federal grant opportunities, political contributions,
IRS Form 990 filings, and jurisdiction/meeting data link together into a single
political-financial picture.
```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ OPEN NAVIGATOR DATA ECOSYSTEM β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ EXISTING DATA NEW INTEGRATIONS β”‚
β”‚ ────────────── ──────────────── β”‚
β”‚ β”‚
β”‚ IRS Form 990 Grants.gov API β”‚
β”‚ β€’ 3M+ nonprofits ───> β€’ Grant opportunities β”‚
β”‚ β€’ Officers β€’ Deadlines β”‚
β”‚ β€’ Financials β€’ Eligibility β”‚
β”‚ β€’ Past grants β”‚ β”‚
β”‚ β”‚ β”‚
β”‚ Jurisdictions β”‚ FEC API β”‚
β”‚ β€’ 90k+ cities ──────────┴───> β€’ Political $$$ β”‚
β”‚ β€’ Meetings β€’ Donor networks β”‚
β”‚ β€’ Contacts β€’ Influence β”‚
β”‚ β”‚
β”‚ UNIQUE VALUE: Complete political-financial picture β”‚
β”‚ β€’ Who donated β†’ Which campaigns β†’ Grant awards β”‚
β”‚ β€’ Timeline analysis: Donation β†’ Policy β†’ Funding β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```
## How the sources connect
| Join | Key | Reveals |
| -------------------------------------- | ---------------------------- | ---------------------------------------------------- |
| IRS 990 officers β†’ FEC contributions | contributor name / employer | Political engagement of nonprofit leadership |
| Nonprofits β†’ Grants.gov opportunities | NTEE code / eligibility | Funding a nonprofit is eligible to apply for |
| FEC contributions β†’ grant awards | nonprofit EIN | Whether political activity correlates with funding |
| Jurisdictions β†’ meetings β†’ policy | `state_code` / jurisdiction | Where a policy is being debated and by whom |
For the per-source clients, schemas, and worked code examples, see the dedicated
integration guides:
- **[Grants.gov API](./grants-gov-api.md)** β€” federal grant opportunities and matching
- **[FEC Political Contributions](./fec-political-contributions.md)** β€” donations and influence analysis
- **[FEC Campaign Finance](./fec-campaign-finance.md)** β€” bulk campaign-finance data
## Runnable demos
End-to-end demonstration scripts live in [`scripts/examples/`](https://github.com/) of the repository:
| Script | What it shows |
| --------------------------------------- | ------------------------------------------------------------------- |
| `example_workflow.py` | The full policy-analysis pipeline across all agents |
| `full_demo.py` | A complete system demonstration |
| `integration_demo.py` | Integration across multiple components |
| `legislative_map_demo.py` | Legislative tracking and mapping |
| `process_multiple_formats.py` | Processing several document formats |
| `tuscaloosa_accountability_report.py` | Evidence-based accountability dashboard (case study) |
| `tuscaloosa_decision_analysis.py` | Decision-making pattern analysis (case study) |
| `tuscaloosa_political_economy.py` | Political-economy analysis (case study) |
Before running a demo:
1. Activate the environment (`source .venv/bin/activate`).
2. Set the required API keys / environment variables (an FEC key from
[api.data.gov/signup](https://api.data.gov/signup/) is needed for political-contribution demos).
3. Download any source data via the loaders in `scripts/datasources/`.