Interactive crime mapping. An interactive map. Users can filter by crime.
Crimes will be mapped at an LSOA level. Users can cycle through different crime and years.
-
Function to get data. A generic function to get data from the source. Function will be used to get recent and historical data.
-
A function to preprocess the data. Combine recent and historical data.
-
A function to clean the data after aggregation. Handle missing values.
-
A function to aggregate data into yearly.
-
A function to select specific crime of data. Needs to be used for major and minor.
-
A function to make a plot of the aggregated yearly data.
-
A function to make a timeseries plot of the crime data. Time series of monthly data and yearly data
-
Crime rate prediction?