grantmakers/grantmakers.github.io

Consider shortening names

Closed this issue · 1 comments

The IRS-provided Index object concatenates names if two lines exist.

Example
https://www.grantmakers.io/profiles/010215216/

Consider pulling names from Filings instead of Index.

Applies to search results and profile header names.

Source code
https://github.com/smartergiving/irs-990-fetch/blob/master/normalize.js#L6

e.g. Filing:

"BusinessName" : {
                    "BusinessNameLine1Txt" : "CHINA LIBRARY ASSOCIATION",
                    "BusinessNameLine2Txt" : "ALBERT CHURCH BROWN MEMORIAL LIBRAR"
                },

Index:

"OrganizationName" : "CHINA LIBRARY ASSOCIATION ALBERT CHURCH BROWN MEMORIAL LIBRAR",

Part of Grantmakers.io is to show foundation's how the IRS is indexing their electronic Form 990-PF. As the IRS-provided indexes contain the concatenated name (and that name only), Grantmakers.io shall show the name as listed for the foreseeable future.