Sammamish is a city in King County, Washington, United States. The population is estimated 65,733 in 2018. Located on a plateau, the city is bordered by Lake Sammamish to the west and the Snoqualmie Valley to the east.
The city is relatively peaceful and safe to live in.
knitr::include_graphics('sammCity.JPG')
Arrests made by Investigating Agency
This analysis is carried out for more of as Educational / Entertainment purposes. It is however based on the real data
load("crimeSummary.RData")
dim(getArrestData)
## [1] 258 32
We have used bar plots to see how the crime happens in Sammamish
Categorical variable.
Data are displayed as a series of vertical (or horizontal) bars whose heights indicate the number (count) or proportion (percentage) of values in each category.
Look at the Visual representation of a table. and check
knitr::include_graphics('investigatingA.JPG')
Arrests made by Investigating Agency
As can be seen that out of the two, the Sammamish Police Department was the busiest in making the arrests.
It is obvious from the bar plot (ref figure #2) of crime frequency categorized by day of the week that Monday is the safest day
knitr::include_graphics('dayofweek.JPG')
Arrests plotted against Day of the week
April is the month with the lowest crime rate.
knitr::include_graphics('monthCS.JPG')
Arrests made on Months Basis
Early Morning is the time when we have least crime rate. May be the persons prone to get involved in crime don’t like to wake up early
knitr::include_graphics('timeOfDay.JPG')
Arrests Vs Time of the Day
# cc <- case_when(
# Time > 0 & Time < 4 ~ "Early Morning",
# Time >= 4 & Time < 10 ~ "Morning",
# Time >= 10 & Time < 15 ~ "Noon",
# Time >= 15 & Time < 19 ~ "Evening",
# Time >= 19 & Time < 24|bb == 0 ~ "Night"
# )
As per the formula early morning is the time between midnight and 4am
Enjoy
Well that was before Covid19 virus … Now there is no time that is safe to venture out.