Skip to main content

Record-matcher source-data catalog

The public datasets the record-matcher resolves, their schemas, the column mappings, and the join keys. These are real public compliance/reporting datasets with no shared entity key across them and heavy within-dataset repetition — resolving them into deduplicated, cross-linked entities is what makes them analyzable. Our scope is the resolution; whatever correlations surface are the data consumer's to interpret.

Data lives at $MAILWOMAN_DATA_ROOT/record-matcher/sources/ (persistent — not /tmp). The NPPES registry is 4.8 GB / 9.6M rows, so everything streams (streamRows, #616) — never readFileSync.

The committed ColumnMappings live in the benchmark + correlation scripts (scripts/record-matcher/{nppes-dedup-benchmark,cross-dataset-correlation}.ts); this page is the human-readable index of them.

The datasets

filerowsentity idwhat it is
nppes_npi-registry_20260607.tsv9.6MNPINational Provider registry — every provider + org with an NPI
nppes_other-names_20260607.tsv855KNPIAlternate organization names per NPI (the name-drift source)
nppes_practice-locations_20260607.tsv1.2MNPISecondary practice locations per NPI
fcc-rhc_commitments-disbursements_form462-466-466a_20260615.tsv470KFiling HCP / Participating HCPFCC Rural Health Care funding commitments — two HCPs per row
fcc-rhc_posted-services_form461-465_20260615.tsv94KHCP NumberFCC RHC posted-services filings (the enrollment side)
fcc-rhc_spin-lookup_20260615.tsv22KSPINService Provider Identification Number lookup
txhhsc_nursing-facilities_20260611.tsv1176Facility IDTX HHSC licensed nursing facilities — carries a Geo Location lat,lon
txhhsc_nursing-facility-closures_20260608.tsv403Facility IDTX HHSC closed nursing facilities
txhhsc_hospital-based-nursing-facilities_20260611.tsv6Facility IDTX HHSC hospital-based nursing facilities

Column mappings

NPPES registry → SourceRecord

fieldcolumn(s)
idNPI
organizationProvider Organization Name (Legal Business Name) (Entity Type Code 2)
nameProvider First Name + Provider Last Name (Legal Name) (Entity Type Code 1)
addressProvider First Line Business Practice Location Address + CitylocalityThe city / town / settlement component of an address: a populated place sitting between region and neighbourhood in the hierarchy. + StateregionThe first-level administrative subdivision of a country — a US state, a French region, a province. The component between country and locality. + Postal Code
phoneProvider Business Practice Location Address Telephone Number

The mailing-address columns (Provider First Line Business Mailing Address + …) give the address-variation records in the dedup benchmark. Practice-location secondary addresses live in the separate practice-locations file (same NPI key).

FCC RHC posted-services → SourceRecord

fieldcolumn(s)
idHCP Number
organizationHCP Name
addressSite Address Line 1 + Site City + Site State + Site ZIP Code
phoneContact Phone
emailContact E-mail

FCC RHC commitments → SourceRecord (explode: two records per row)

Each row carries a Filing HCP and a Participating HCP — explode into two records:

fieldFiling HCPParticipating HCP
idFiling HCPParticipating HCP
organizationFiling HCP NameParticipating HCP Name
addressFiling HCP Street + CitylocalityThe city / town / settlement component of an address: a populated place sitting between region and neighbourhood in the hierarchy. + StateregionThe first-level administrative subdivision of a country — a US state, a French region, a province. The component between country and locality. + Zip CodeParticipating HCP Street + CitylocalityThe city / town / settlement component of an address: a populated place sitting between region and neighbourhood in the hierarchy. + StateregionThe first-level administrative subdivision of a country — a US state, a French region, a province. The component between country and locality. + Zip Code

Service Provider ID joins to fcc-rhc_spin-lookup (SPIN).

TX HHSC nursing-facilities → SourceRecord

fieldcolumn(s)
idFacility ID
organizationFacility Name
addressPhysical Address + Physical Address CITY + Physical Address State + Physical Address Zipcode
phoneFacility Phone Number
coordinateGeo Location (lat,lon — the pre-geocoded seed + geocoder-validation ground truthground truthThe correct answer for an example, used as the standard a prediction is graded against. Mailwoman's ground truth is the hand-labeled golden set; its quality caps achievable accuracy., #619)

Medicare Provider Number / Medicaid Provider Number are present and could later join to NPPES via CMS certification data.

Join structure

  • Within NPPES: the NPI keys registry ↔ other-names ↔ practice-locations. This is what makes the dedup benchmark's NPI-as-ground-truth possible (#617).
  • Across sources: there is no shared key. NPPES (NPI), FCC RHC (HCP Number / Filing HCP), and TX HHSC (Facility ID) are independent id spaces. Resolution across them is by geocoded location + name/org agreement — the cross-dataset correlation (#618). A resolved entity spanning ≥2 sources is the link we surface for review.
  • Latent bridges (not yet used): Medicare/Medicaid Provider Number (TX HHSC ↔ CMS ↔ NPPES), SPIN (FCC commitments ↔ spin-lookup). These would corroborate geo-resolved links where present.

Provenance

All files are public downloads: NPPES from the NPPES NPI Registry, FCC RHC from the USAC/FCC open-data portal, TX HHSC from the Texas Health and Human Services open-data site. Dates in the filenames are download dates. No credentials, no scraping — public compliance disclosures in a useless shape, which is exactly the problem the matcher addresses.