boston_911dispatch_weekly {knnwtsim} | R Documentation |
boston_911dispatch_weekly
Description
A dataset which contains the weekly count of 911 dispatches in the city of Boston, MA, USA, for three City of Boston public safety agencies: Boston Police Department, Boston Fire Department, and Boston Emergency Medical Services. In addition a number of holiday indicators, and dummy variables for months. Data is present for weeks between 2010-10-31 and 2014-04-20. Derived by Matthew Trupiano from a .csv file (911 Daily Dispatch Count By Agency (CSV)) hosted on https://data.boston.gov/.
Usage
boston_911dispatch_weekly
Format
A dataframe with 182 rows and 28 variables:
- week
first day of a given week (Sunday), date.
- BPD
summarized count of 911 dispatches from the Sunday in the week variable to the Saturday before the next week for the Boston Police Department.
- EMS
summarized count of 911 dispatches from the Sunday in the week variable to the Saturday before the next week for the Boston Emergency Medical Services.
- BFD
summarized count of 911 dispatches from the Sunday in the week variable to the Saturday before the next week for the Boston Fire Department.
- new.years.ind
1 if YYYY-01-01 or YYYY-12-31 occur during the week else 0.
- christmas.ind
1 if YYYY-12-24 or YYYY-12-25 occur during the week else 0.
- thanksgiving.ind
1 if the holiday Thanksgiving occurs during the week else 0.
- veterans.ind
1 if YYYY-11-11 occurs during the week else 0.
- indigenous.ind
1 if the holiday Indigenous Peoples Day occurs during the week else 0.
- labor.ind
1 if the holiday Labor Day occurs during the week else 0.
- july4.ind
1 if YYYY-07-04 occurs during the week else 0.
- juneteenth.ind
1 if YYYY-06-19 occurs during the week and the week st is >= '2020-06-01' else 0.
- memorial.ind
1 if the holiday Memorial Day occurs during the week else 0.
- patriots.ind
1 if the holiday Patriot's Day occurs during the week else 0.
- st.patricks.ind
1 if YYYY-03-17 occurs during the week else 0.
- presidents.ind
1 if the holiday President's Day occurs during the week else 0.
- mlk.ind
1 if the holiday Martin Luther King Jr. Day occurs during the week else 0.
- jan.ind
1 if week variable occurs in January else 0.
- feb.ind
1 if week variable occurs in February else 0.
- mar.ind
1 if week variable occurs in March else 0.
- apr.ind
1 if week variable occurs in April else 0.
- may.ind
1 if week variable occurs in May else 0.
- jun.ind
1 if week variable occurs in June else 0.
- jul.ind
1 if week variable occurs in July else 0.
- aug.ind
1 if week variable occurs in August else 0.
- sep.ind
1 if week variable occurs in September else 0.
- oct.ind
1 if week variable occurs in October else 0.
- nov.ind
1 if week variable occurs in November else 0.
- dec.ind
1 if week variable occurs in December else 0.
Source
https://data.boston.gov/dataset/911-daily-dispatch-count-by-agency