GithubHelp home page GithubHelp logo

ubc-mds / safe_vancity-r Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 39.96 MB

The Safe Vancity (R) app consists of maps and plots on crime rates in Vancouver in 2021, which help you make safest housing choices!

Home Page: https://safevancity-r.herokuapp.com/

License: MIT License

CSS 40.75% R 56.65% Dockerfile 2.60%
map dashboard dropdown tab barplot dash-plotly

safe_vancity-r's Introduction

Welcome to Safe Vancity Dashboard (R) App

Welcome! 👋 欢迎 🎊 Bienvenue! 🎉

Thank you for visiting the Safe Vancity app project repository (R version). This is a Vancouver crime incidence app and we are your friendly, neighbourhood data scientists wanting to help you make the safest choice of location for your next forever or rental homes with the creation of this app.

The most recent version of the dashboard is available at the following link: Safe Vancity-R

In this document, we outline some information about the project. See sections below:

Relevance

Being the largest city in British Columbia, Vancouver is an attractive city to call home for many. Reasons include its vast ethnic diversity, natural landscape, coastal, foresty, job market and so on. Despite the vibrant quality of this city, an important factor when deciding to live in a specific city depends on the safety of its neighborhoods, along with other factors such as access to essential services, cost of living etc. Research evidence has shown that crime types have had significant changes during COVID at neighborhood levels in Vancouver (Anderson and Hodgkinson 2022). For example, assault cases, arson and robbery have increased in Vancouver’s Downtown core, Strathcona and Mount Pleasant areas. At VanRealtor, we wanted to offer our clients the decision to choose their next neighborhood to move, rent or visit while being aware of the crimes statistics of the city.

Overview

The Safe Vancity app is an interactive platform that provides an overview of the crime reports across various Vancouver neighborhoods, based on 2021 crime statistics data. This dashboard aims to help people make decisions when considering their next trip or move to Vancouver, BC, via visually exploring a dataset of crime statistics from last year. We are currently only reporting incidence in 2021 for the ease of usage of the app and may incorporate past year's data at a later stage. The dashboard also provides summaries of important metrics related to crime statistics and allows users to filter information by geological location, crime type, crime category (violent vs property crimes), and time of the crime (month, weekday).

App Description and Implementation

The Safe Vancity app opens to a landing page with three plots. In the bottom left-hand side we have added all the filters in dropdown lists which includes crime types, neighbourhoods, month, and weekday. By selecting a neighbourhood, all the plots in the app will display metrics related to that neighbourhood.

  • The map chart allows the user to view crime density by neighbourhood, crime type and month. The users can zoom in or out of the area to see the specific streets or area where the crime was reported.
  • The bottom bar plot shows the total reported cases in each neighbourhood by crime category (i.e., Violent, Property or All crimes). Users can hover over the plot and see the actual "counts" of cases reported for each selection. There are tabs implemented to select the choice of crime category.
  • The top-right bar plot allows the user to see the number of crimes reported in a neighbourhood by the day of the week. Users can hover over the plot and see the actual "counts" of cases reported for each crime category.

For example, selecting "West End" as neighbourhood, the dashboard will display the crime density in this neighbourhood in the map plot on the top left of the screen, total reported cases in West End by crime type and crime category in the bottom bar plot, and the number of crimes by weekday in West End in the top-right bar plot.

The illustrations below demonstrates the usage described above. Also, we have shown how you can change the variables to return dynamically changing plots based on your selections. In short, the plots shown to you on the dashboard are entirely based on your selections. We made it easy for you to completely configure what you want to see on the dashboard.

App Design

app

Implementation and user guide

  1. Usage of the crime density map

App sketch

  1. Usage of total reported cases by crime category plot

App sketch

  1. Usage of total reported cases by day of the week plot

App sketch

Support

If you run into trouble, please check the issues to see if your problem has already been reported or to open new issues. We are here to help!

Get Involved

We recognize and welcome all contributors.

Interested in contributing to our dashboard?

Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

Code of Conduct

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. Detailed descriptions of these points can be found in the Code of Conduct.

About us

Names and GitHub @usernames of developers listed below:

  • Arlin Cherian @arlincherian
  • Victor Francis @Vikiano
  • Wanying Ye @GloriaWYY

This app was developed as part of the course requirement for DSCI 532 - Data Visualization II course in the Master of Data Science program at the University of British Columbia, Vancouver, Canada.

License

safe_vancity was created by Arlin Cherian, Victor Francis and Wanying Ye. It is licensed under the terms of the License: MIT

References

Anderson, M., and T. Hodgkinson. 2022. “Andresen MA, Hodgkinson t. In a World Called Catastrophe: The Impact of COVID-19 on Neighbourhood Level Crime in Vancouver, Canada [Published Online Ahead of Print, 2022 Jan 9]. J Exp Criminol. 2022;1-25. Doi:10.1007/S11292-021-09495-6.” Journal of Experimental Criminology, 1–25.

safe_vancity-r's People

Contributors

arlincherian avatar gloriawyy avatar vikiano avatar

Stargazers

 avatar

Forkers

arlincherian

safe_vancity-r's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.