Repository navigation
Look up an NTEE code by EIN (ADR 0050) - #107
Merged
Merged
Conversation
New /datasets/ntee/lookup/: enter an EIN, the page fetches the one four-digit-prefix shard of the EIN index and shows the organization's name, place, NTEE code with IRS wording, version 2 form, exemption subsection, ruling year, IRS status and the releases it appears in, with the standing note that only the IRS can change a code. Linked from the NTEE guide and the dataset page. ADR 0050 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…rwrite a newer one Co-Authored-By: Claude Fable 5.1 <[email protected]>
Collaborator
Author
|
Review point 4 fixed: each lookup takes a sequence number; a response whose number is no longer the latest is dropped before it can render or show an error, so submitting EIN A then EIN B always ends on B. |
Thiyaghessan
marked this pull request as ready for review
September 21, 2026 15:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Website half of nccs-contracts ADR 0050 (PR #95), BACKLOG Z30. Draft until nccs-data-bmf #58 merges and the EIN index is published; the page fetches
unified/bmf/ein-index/latest/{prefix}.json, which does not exist yet./datasets/ntee/lookup/: an EIN box (any common form), one fetch of the matching four-digit-prefix shard, and a result card: name, city and state, EIN, NTEE code with the IRS wording and the version 2 form, exemption subsection, ruling year, IRS status, and the span of IRS releases the EIN appears in, stamped with the index vintage. Clear messages for a malformed EIN, an EIN not in any release, and an organization with no code on file. The EIN goes into the URL (?ein=) so a result can be shared.Previewed against a local copy of the built shards (Urban Institute, 52-0880375, resolves to V34 Urban Studies,
PSB-V34-RG, ruling year 1968, releases 1989-06 to 2026-07).ADR 0050
🤖 Generated with Claude Code