openreferral / hsds-transformer

Convert data into valid Human Service Data Specification (HSDS) datapackages. (Produced by the Open Referral Initiative.)
MIT License
11 stars 5 forks source link

Smart phone number creation #14

Open switzersc opened 5 years ago

switzersc commented 5 years ago

When we collect phone data from organizations, services, and locations, we're taking the whole field and putting it in the number column in the output phones.csv. This is a problem because the phone field might actually include extensions or other text. It would be great to at least parse out extensions in the number column and move them to the extension column.

See examples in this fixture: https://github.com/switzersc/open_referral_transformer/blob/master/spec/fixtures/output/resources/phones.csv

switzersc commented 5 years ago

Started with #33