grantmakers / grantmakers.github.io

Grantmakers.io is a free, open source project built to help nonprofits utilize the incredible IRS electronic 990-PF dataset.
https://www.grantmakers.io
MIT License
49 stars 13 forks source link

Algolia - Choose a Data Structure #18

Closed chadokruse closed 7 years ago

chadokruse commented 7 years ago

Use existing IRS schema, a custom/modified schema, or existing industry standard (e.g. hGrant, IATI, 360Giving)?

hGrant JSON
360Giving
IATI

Background
Tim Davies

chadokruse commented 7 years ago

Based on community feedback, we're going to keep the data structure as simple as possible and as close to the IRS schema as possible. We're open to changing this in the future as new standards develop and new feedback received.

The data strucutre will be as follows:

{
  "objectID": "521798711_2015_0"
  "ein": "521798711",
  "organization_name": "KAHLERT FOUNDATION INC",
  "city": "Sykesville",
  "state": "MD",
  "grant_amount": 250000,
  "grant_purpose": "PRIMARY HEALTHCARE FOR UNINSURED, LOW-INCOME RESIDENTS OF CARROLL COUNTY.",
  "grantee_name": "ACCESS CARROLL INC",
  "grantee_city": "Westminster",
  "grantee_state": "MD",
  "tax_year": 2015,
  "grant_number": 4,
}

Notes:

  1. Algolia objectIDs are in the form of [ein]_[tax_year]_[index in grants array]