krz/omaha-metro-blotter

Archive of police activity and ALPR surveillance across the Omaha metro. alpr archive omaha police surveillance

Commit 055f5ddc3b

055f5ddc3ba6b5772cd76fe7220f5cb212d2598c

parent: 441d7dc25c

Verified · cmc

cmc <hello@cleberg.net> · 2024-01-24 17:23 UTC

fix page title

Layout: unified · split

app.py +1 −1
@@ -15,7 +15,7 @@ df['year'] = df['date'].str[-4:]
15# Configure HTML layout 15# Configure HTML layout
16app = Dash(__name__) 16app = Dash(__name__)
17app.layout = html.Div(children = [ 17app.layout = html.Div(children = [
18 html.H1(children="Omaha Police Invidents", style={"textAlign":"center"}), 18 html.H1(children="Omaha Police Incidents", style={"textAlign":"center"}),
19 html.Div([ 19 html.Div([
20 html.H2(children="Totals per Category and Year", style={"textAlign":"center"}), 20 html.H2(children="Totals per Category and Year", style={"textAlign":"center"}),
21 dcc.Dropdown(df.sort_values("description").description.unique(), "INJURY", id="dropdown"), 21 dcc.Dropdown(df.sort_values("description").description.unique(), "INJURY", id="dropdown"),
screenshots/dashboard.png

Binary file not shown.