Process CSV files with column headers of any case

Implements and depends on:
https://github.com/alphagov/notifications-utils/pull/27

Should be merged and deployed before the same change in the admin app.
This commit is contained in:
Chris Hill-Scott
2016-04-29 17:24:00 +01:00
parent 553ef6bfc8
commit c96c1799f9
6 changed files with 9 additions and 6 deletions

View File

@@ -1,2 +1,2 @@
email address
email_address
test@test.com
1 email address email_address
2 test@test.com test@test.com

View File

@@ -1,4 +1,4 @@
email address
EMAILADDRESS
test1@test.com
test2@test.com
test3@test.com
1 email address EMAILADDRESS
2 test1@test.com
3 test2@test.com
4 test3@test.com

View File

@@ -1,4 +1,4 @@
phone number,name
PhoneNumber,Name
+441234123121,chris
+441234123122,chris
+441234123123,chris
1 phone number PhoneNumber name Name
2 +441234123121 chris
3 +441234123122 chris
4 +441234123123 chris

View File

@@ -1,2 +1,2 @@
phone number, ignore this column
PHONE NUMBER, IGNORE THIS COLUMN
+441234123123, nope
1 phone number PHONE NUMBER ignore this column IGNORE THIS COLUMN
2 +441234123123 +441234123123 nope nope