cfpb / api

Documentation to support upcoming data platform API and data sets
http://cfpb.github.io/api/hmda/
31 stars 73 forks source link

Retain dashes in MSAMD names where appropriate #48

Closed m3brown closed 9 years ago

m3brown commented 9 years ago

The input file for creating CSVs had a few rows where double dashes appeared (--). In the past we treated these the same as a single dash, meaning both double and single dashes would be replaced with a comma.

e.g.

FROM: NASHVILLE-DAVIDSON--MURFREESBORO--FRANKLIN, TN
TO:   Nashville, Davidson, Murfreesboro, Franklin - TN

The correct translation would be to keep the single dash, and only replace double-dashes with commas

FROM: NASHVILLE-DAVIDSON--MURFREESBORO--FRANKLIN, TN
TO:   Nashville-Davidson, Murfreesboro, Franklin - TN
sleitner commented 9 years ago

nice work!