diff options
Diffstat (limited to 'bin/grep.js')
| -rw-r--r-- | bin/grep.js | 6 |
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 |
