Skip to content

mehwishferoz/KSP-Profile-Analysis-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Police Performance Analysis and Data & Resource Management

Our approach involves developing a user-friendly dashboard accessible through two login options: one for individual police officers which is used to analyze their own performance, while allowing superior officers to assess the performance of any officer. Additionally, the performance of PIs is contingent upon the performance of PSIs under them. Similarly, the performance DySPs depends on the performance of various PIs under them. This maintains the hierarchical structure of the police system.

  • When any police officer logs into the profile analysis system, they can view their performance analysis through various graphical and statistical representations. They can also download their report and opt for real-time notifications through mobile number or email from their dashboard. Additionally, they can search for details of any FIR. The dashboard will also include a performance evaluation system showing the cumulative score of the logged-in police officer along with feedback ranging from outstanding to poor.
  • Another login option is provided for the designated officer responsible for managing data and resources of each police station, such as adding new FIR data, updating existing FIR data, updating user information, and managing resource allocation for each police station.

Table of Contents

Architecture Design

image

Figma Designs

Performance Analysis Design

Performance Analysis

Home Page Design

KSP HomePage

What You Need to Run This Application

For Frontend:

  • axios: ^1.6.8
  • chart.js: ^4.4.2
  • dom-to-image: ^2.6.0
  • file-saver: ^2.0.5
  • html2canvas: ^1.4.1
  • react: ^18.2.0
  • react-chartjs-2: ^5.2.0
  • react-dom: ^18.2.0
  • react-router-dom: ^6.22.3
  • react-toastify: ^10.0.5
  • recharts: ^2.12.2

For Backend:

  • bcryptjs: ^2.4.3
  • cors: ^2.8.5
  • dotenv: ^16.3.1
  • express: ^4.18.2
  • express-async-errors: ^3.1.1
  • jsonwebtoken: ^9.0.2
  • mongoose: ^8.0.3

How to Run This Code

  • Make sure MongoDB is running on your system
  • Clone this repository

To Run Frontend:

  • Run the following command inside \KSP Dasboard final\frontend> to install all packages and to start frontend:

bash npm install npm run dev

To Run Server:

  • Run the following command inside \KSP Dasboard final> to install all packages and to start server: bash npm install npm run dev

Sample for Dashboard Access

  1. Username: ravinaiklambani494@gmail.com Password: ravinaiklambani494

  2. Username: manjannat1364@gmail.com Password: manjannat1364

Snapshots of Home Page

image image

Personalized dashboard

image image

Search Bar and notification button demo

image

Language toggling

image

User can add new data or update existing data

image

Watch demo video here:

https://youtu.be/2r89xyq0okE?si=hHKANuyF2MAVvJCW

Future Work Roadmap

1. Real-time Notifications:

  • Introduce a planned feature to notify officers about pending and undetected cases via mobile notifications.
  • Allow users to opt for notifications on their mobile devices through a button in their profile performance analysis dashboard.
  • This enhancement aims to improve responsiveness and ensure timely action on critical cases.

2. Database for All Other Remaining Years:

  • Initiate preprocessing of the database and upload it to MongoDB for each remaining year.
  • Enable users to target specific datasets for analysis by selecting a year from the drop-down menu.
  • Illustrate hierarchical structure within the police force, aiding in performance evaluation and decision-making.

3. Resource Management for Each Station:

  • Develop a system for managing the resources of each police station.
  • Track which resources are allocated to which officer.

4. Performance of Each Unit:

  • Analyze the performance of each unit in all sections of crime.
  • Conduct team performance analysis from same unit.
  • Schedule teams for crimes relevant to their expertise.

5. Performance Evaluation Framework:

  • Implement structured method to score officers based on factors such as pending and convicted cases, determining each factor's weightage for the overall score.
  • Provide officers with feedback ranging from outstanding to poor based on their scores, aiding in improvement and recognizing excellence.

Contributing

Contributions are welcome!! Please fork the repository and create a pull request with your changes.

Contact

For any inquiries or support, please contact:

About

Karnataka State Police Profile Analysis dashboard and FIR resource management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Other 0.9%