summaryrefslogtreecommitdiff
path: root/bin/grep.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-23 19:33:41 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-23 19:33:41 +0100
commit6fc8743f68648857ccef703bc4f2290b2cdac061 (patch)
tree00b5b3afc0e0a2f2e808fe36c5cd4565b84d9310 /bin/grep.js
parentc1c058c662109696fda78b8512aebfd197974b5e (diff)
media sonification
Diffstat (limited to 'bin/grep.js')
-rw-r--r--bin/grep.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/grep.js b/bin/grep.js
index b4eb3bd..ee85ff3 100644
--- a/bin/grep.js
+++ b/bin/grep.js
@@ -75,14 +75,14 @@ const fields = ("incident_id,date,state,city_or_county,"
return a
}, {})
-const search = 'good-samaritans'
-const regexp = new RegExp(search, 'i')
+const search = 'school-shootings'
+// const regexp = new RegExp(search, 'i')
function test(row){
return (
row
// && row[fields.incident_characteristics].indexOf('Non-Shooting Incident') === -1
- && row[fields.incident_characteristics].indexOf('Samaritan') !== -1
+ && row[fields.incident_characteristics].indexOf('School Shooting') !== -1
// // && row[fields.participant_age_group].indexOf('Teen') !== -1
// && row[fields.participant_age_group].indexOf('Child') !== -1
// && row[fields.gun_type].indexOf('AR-15') !== -1