File tree 3 files changed +9135
-1
lines changed
3 files changed +9135
-1
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ var createCsvStream = function (file) {
46
46
if ( index === 0 && skipFirstLine ) {
47
47
return null ;
48
48
}
49
+ console . log ( row [ nameIndex ] )
49
50
output [ row [ codeIndex ] ] = row [ nameIndex ] ;
50
51
return row ;
51
52
}
52
53
53
54
return function ( callback ) {
54
55
stream = csv ( )
55
56
. from
56
- . stream ( fs . createReadStream ( file ) , {
57
+ . stream ( fs . createReadStream ( file , { encoding : 'utf-8' } ) , {
57
58
delimiter : delimiter
58
59
} )
59
60
. transform ( transform )
Original file line number Diff line number Diff line change 35678
35678
"E38000034":"NHS Chorley and South Ribble",
35679
35679
"E38000035":"NHS City and Hackney",
35680
35680
"E38000036":"NHS Coastal West Sussex",
35681
+ "E38000213":"NHS Coastal West Sussex",
35681
35682
"E38000037":"NHS Corby",
35682
35683
"E38000038":"NHS Coventry and Rugby",
35683
35684
"E38000039":"NHS Crawley",
35709
35710
"E38000065":"NHS Greater Preston",
35710
35711
"E38000066":"NHS Greenwich",
35711
35712
"E38000067":"NHS Guildford and Waverley",
35713
+ "E38000214":"NHS Guildford and Waverley",
35712
35714
"E38000068":"NHS Halton",
35713
35715
"E38000069":"NHS Hambleton, Richmondshire and Whitby",
35714
35716
"E38000070":"NHS Hammersmith and Fulham",
You can’t perform that action at this time.
0 commit comments