Skip to content

Commit f656309

Browse files
committed
Remove expand list
1 parent 286d64b commit f656309

File tree

5 files changed

+66
-96
lines changed

5 files changed

+66
-96
lines changed

.idea/workspace.xml

+54-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+5-24
Original file line numberDiff line numberDiff line change
@@ -128,30 +128,11 @@ https://www.humanitarianresponse.info/en/about-clusters/what-is-the-cluster-appr
128128
https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/documents/files/IASC%20Guidance%20Note%20on%20using%20the%20Cluster%20Approach%20to%20Strengthen%20Humanitarian%20Response%20%28November%202006%29.pdf
129129

130130
Categories:
131+
Expand list: All words cut down to 1 chunk, this list includes plural to color
131132

132-
1. Transportation (logistic): "road", "roadway", "street", "bridge", "drive", "avenue", "bus line reopen/open", "megabus reopen/open", "metro", "subway", "sub", "trains", "train", "transit"
133+
---
134+
reference:
133135

134-
2. Utilities: "power", "water", "gas", "electricity", "emergency power", "emergency generator", "black out",
135-
"blackout", "blackoutnyc",
136-
con ed", "con edison", "coned", "dark", "darker", "downed electrical wires", "POWER down", "POWER not expected", "POWER off", "POWER
137-
out", "POWER outage", "goodbye POWER", "knock out POWER", "lose POWER", "losing POWER", "lost POWER", "njpower", "no POWER", "noPOWER",
138-
off the grid", "powerless", "shut off POWER", "taken POWER", "transformer exploding", "transformer explosion", "w/o POWER", "wait
139-
POWER return", "without POWER", "candle"
136+
- Water and sewer: https://www.usgs.gov/special-topic/water-science-school/science/dictionary-water-terms?qt
137+
-science_center_objects=0#qt-science_center_objects
140138

141-
3. Early recovery (rescue/save lives/health/well-being): "evacuate", "evacuated", "evacuating", "evacuation", "evacuee", "head away from", "leave home", "leaving city", "police ask leave", "seeking refuge", "sleep outside", "stay with friends", "hotel", "housing", "shelter", "ambulance", "emergency response", "escape", "escaped", "escaping", "first aid", "rescue", "rescued", "rescuing"
142-
143-
4. Food:
144-
"feed victims", "food trucks", "free lunch", "free meals", "get meals", "refugee meal", "nutri", "nutrition"
145-
146-
Because it's binned -> info in the whole hour is compressed into one tick.
147-
148-
Utilities: Heat, gas, power, electric, electricity, candle, candles, charge power, flashlight, flashlights, generator, generators, in case of power outage, emergency generator, no ac, no heat, no heater, gas long line, no gas, wait for gas, no water, wait water return, water shortage, without water
149-
150-
Emergency recovery: emergency, evacuate, evacuated, evacuating, evacuation, evacuee, head away from, leave home, leaving city, police ask leave, seeking refuge, sleep outside, stay with friends, protection, response map, ambulance, emergency response, escape, escaped, escaping, first aid, rescue, rescued, rescuing, dead, death, death toll, drowned, kill, help, help and serve, help neighbor, help out, help victims, help with, offer goods, sandyhelp, sandyvolunteer, teaforhumanity,
151-
volunteer, volunteering
152-
153-
Wellbeing: Food, nutrition, stay safe, stay home, shelter, housing, stay inside, hotel, housing, shelter, "shelter", "snuggled up safely inside", "stay home", "stay inside", "stay safe", "staysafe",
154-
155-
Transportation: Logistic, road, Transportation, MTA, traffic, jam, congestion, metro, subway, sub, trains, train, transit, bus line, megabus, strand people, ferry suspend, road, roadway, street, bridge, drive, avenue, airport, airplane, flight,
156-
157-
Expand list: All words cut down to 1 chunk, this list includes plural to color

js/main.js

-3
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ function initDataSelection(dataSelection) {
560560
streamRawData = getStreamData(data, resourceKeyword, resourceList);
561561
updateStream();
562562
updateWindow(current);
563-
564563
}
565564
else {
566565
streamRawData = getStreamAllData(data, eventKeyword, eventList);
@@ -716,7 +715,6 @@ function tooltipInfo(d, wsRawData){
716715
bisect(wsRawData, +d.time + hourToMS));
717716
let output = limited
718717
.filter(e => e.location === d.text);
719-
console.log(output);
720718
return output;
721719
}
722720
else {
@@ -729,7 +727,6 @@ function tooltipInfo(d, wsRawData){
729727
.filter(e => {
730728
return e.message.toLowerCase().indexOf(d.text) >= 0;
731729
});
732-
console.log(output);
733730
return output;
734731
}
735732
}

0 commit comments

Comments
 (0)