Skip to content

Commit

Permalink
Override "City of Eugene" (OR) with municipal utility name (#522)
Browse files Browse the repository at this point in the history
They're pretty consistently branded as "EWEB" (https://www.eweb.org/)
so going with that rather than spelling it out.
  • Loading branch information
oyamauchi committed Jul 2, 2024
1 parent 0f32bc5 commit 4714cd9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
7 changes: 2 additions & 5 deletions data/OR/authorities.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"or-city-of-bandon": {
"name": "City of Bandon"
},
"or-city-of-eugene": {
"name": "City of Eugene"
},
"or-city-of-forest-grove": {
"name": "City of Forest Grove"
},
Expand Down Expand Up @@ -74,8 +71,8 @@
"or-emerald-people-s-utility-district": {
"name": "Emerald People's Utility District"
},
"or-eugene-water-and-electric-board": {
"name": "Eugene Water & Electric Board"
"or-eweb": {
"name": "EWEB"
},
"or-harney-electric-cooperative": {
"name": "Harney Electric Cooperative"
Expand Down
42 changes: 21 additions & 21 deletions scripts/data/zip-to-utility.csv
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ zip,utility_id,predominant
00067,ok-public-service-co-of-oklahoma,0
00068,or-central-lincoln,1
00068,or-consumers-power,0
00069,or-eugene-water-and-electric-board,1
00069,or-eweb,1
00069,or-lane-electric-cooperative,0
00070,or-portland-general-electric,1
00070,or-wasco-electric-cooperative,0
Expand Down Expand Up @@ -66353,7 +66353,7 @@ zip,utility_id,predominant
97343,or-consumers-power,1
97344,or-consumers-power,1
97344,or-pacific-power,0
97345,or-city-of-eugene,1
97345,or-eweb,1
97345,or-consumers-power,0
97345,or-pacific-power,0
97346,or-consumers-power,1
Expand Down Expand Up @@ -66433,23 +66433,23 @@ zip,utility_id,predominant
97396,or-pacific-power,1
97396,or-portland-general-electric,0
97396,or-tillamook-people-s-utility-district,0
97401,or-city-of-eugene,1
97401,or-eweb,1
97401,or-city-of-springfield,0
97402,or-blachly-lane-electric-cooperative,1
97402,or-city-of-eugene,0
97402,or-eweb,0
97402,or-emerald-people-s-utility-district,0
97402,or-lane-electric-cooperative,0
97403,or-city-of-eugene,1
97403,or-eweb,1
97403,or-city-of-springfield,0
97404,or-city-of-eugene,1
97404,or-eweb,1
97404,or-emerald-people-s-utility-district,0
97405,or-city-of-eugene,1
97405,or-eweb,1
97405,or-emerald-people-s-utility-district,0
97405,or-lane-electric-cooperative,0
97406,or-coos-curry-electric-cooperative,1
97406,or-pacific-power,0
97407,or-pacific-power,1
97408,or-city-of-eugene,1
97408,or-eweb,1
97408,or-city-of-springfield,0
97408,or-consumers-power,0
97408,or-emerald-people-s-utility-district,0
Expand All @@ -66461,7 +66461,7 @@ zip,utility_id,predominant
97412,or-blachly-lane-electric-cooperative,1
97412,or-consumers-power,0
97413,or-central-electric-cooperative,1
97413,or-city-of-eugene,0
97413,or-eweb,0
97413,or-lane-electric-cooperative,0
97413,or-midstate-electric-cooperative,0
97413,or-pacific-power,0
Expand All @@ -66484,14 +66484,14 @@ zip,utility_id,predominant
97424,or-emerald-people-s-utility-district,0
97424,or-lane-electric-cooperative,0
97424,or-pacific-power,0
97426,or-city-of-eugene,1
97426,or-eweb,1
97426,or-emerald-people-s-utility-district,0
97426,or-lane-electric-cooperative,0
97427,or-lane-electric-cooperative,1
97429,or-pacific-power,1
97430,or-blachly-lane-electric-cooperative,1
97430,or-consumers-power,0
97431,or-city-of-eugene,1
97431,or-eweb,1
97431,or-lane-electric-cooperative,0
97432,or-pacific-power,1
97434,or-lane-electric-cooperative,1
Expand All @@ -66502,11 +66502,11 @@ zip,utility_id,predominant
97436,or-douglas-electric-cooperative,1
97437,or-blachly-lane-electric-cooperative,1
97437,or-emerald-people-s-utility-district,0
97438,or-city-of-eugene,1
97438,or-eweb,1
97438,or-lane-electric-cooperative,0
97439,or-blachly-lane-electric-cooperative,1
97439,or-central-lincoln,0
97440,or-city-of-eugene,1
97440,or-eweb,1
97441,or-central-lincoln,1
97442,or-pacific-power,1
97443,or-douglas-electric-cooperative,1
Expand All @@ -66531,15 +66531,15 @@ zip,utility_id,predominant
97451,or-douglas-electric-cooperative,1
97451,or-emerald-people-s-utility-district,0
97451,or-lane-electric-cooperative,0
97452,or-city-of-eugene,1
97452,or-eweb,1
97452,or-lane-electric-cooperative,0
97453,or-blachly-lane-electric-cooperative,1
97453,or-central-lincoln,0
97453,or-lane-electric-cooperative,0
97454,or-city-of-eugene,1
97454,or-eweb,1
97454,or-emerald-people-s-utility-district,0
97454,or-pacific-power,0
97455,or-city-of-eugene,1
97455,or-eweb,1
97455,or-lane-electric-cooperative,0
97456,or-consumers-power,1
97456,or-emerald-people-s-utility-district,0
Expand Down Expand Up @@ -66578,10 +66578,10 @@ zip,utility_id,predominant
97475,or-city-of-springfield,1
97476,or-coos-curry-electric-cooperative,1
97476,or-pacific-power,0
97477,or-city-of-eugene,1
97477,or-eweb,1
97477,or-city-of-springfield,0
97477,or-emerald-people-s-utility-district,0
97478,or-city-of-eugene,1
97478,or-eweb,1
97478,or-city-of-springfield,0
97478,or-consumers-power,0
97478,or-emerald-people-s-utility-district,0
Expand All @@ -66602,10 +66602,10 @@ zip,utility_id,predominant
97487,or-douglas-electric-cooperative,0
97487,or-emerald-people-s-utility-district,0
97487,or-lane-electric-cooperative,0
97488,or-city-of-eugene,1
97488,or-eweb,1
97488,or-lane-electric-cooperative,0
97488,or-pacific-power,0
97489,or-city-of-eugene,1
97489,or-eweb,1
97489,or-pacific-power,0
97490,or-blachly-lane-electric-cooperative,1
97490,or-central-lincoln,0
Expand Down Expand Up @@ -66767,7 +66767,7 @@ zip,utility_id,predominant
97758,or-central-electric-cooperative,1
97758,or-harney-electric-cooperative,0
97759,or-central-electric-cooperative,1
97759,or-city-of-eugene,0
97759,or-eweb,0
97759,or-consumers-power,0
97759,or-lane-electric-cooperative,0
97760,or-central-electric-cooperative,1
Expand Down
2 changes: 2 additions & 0 deletions scripts/lib/utility-data-overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ export const OVERRIDES = new Map<string | number, string>([
[14109, 'Oregon Trail Electric Cooperative'],
[18917, "Tillamook People's Utility District"],
[1736, 'Blachly-Lane Electric Cooperative'],
[6022, 'EWEB'], // Eugene Water & Electric Board
[430373, 'EWEB'],

// PA
[12390, 'Met-Ed'],
Expand Down

0 comments on commit 4714cd9

Please sign in to comment.