Code Monkey home page Code Monkey logo

dominikvukelic / police_dataset_project Goto Github PK

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

This repository is a collection of Jupyter Notebooks featuring data analysis, cleaning, CSV exports, SQL files, and a database diagram image related to police datasets. Explore various data analysis and manipulation techniques used to handle police-related datasets.

Jupyter Notebook 97.87% SQL 2.13%
csv data-visualization jupyter-notebook python sql sql-queries matplotlib pandas seaborn sqlserver dataframe database kaggle kaggle-dataset

police_dataset_project's Introduction

Police Dataset Project

Overview

This repository contains a comprehensive analysis of a police dataset, initiated with a file sourced from Kaggle. Within this repository, you'll find the original dataset, which undergoes a meticulous cleaning and manipulation process employing Jupyter Notebooks powered by the Pandas Python library. Subsequently, this refined dataset is utilized to generate insightful visualizations using the Matplotlib and Seaborn Python libraries. In addition to these visualizations, two supplementary dataframes are crafted with the intent of constructing a robust SQL database. The project extends beyond visualization, encompassing the exportation of these dataframes into CSV files, the establishment of a SQL database, and the execution of queries on this database. Moreover, an image displaying the database diagram is included, providing a visual representation of the database structure.

Table of Contents

Project Structure

The repository is organized as follows:

  • starting file/: Initial dataset file downloaded from Kaggle.
  • jupyter notebooks/: Jupyter notebooks for data cleaning.
  • exported cleaned csv files/: Exported CSV files.
  • sql queries for creating database tables/: SQL files for database creation, schema setup, and queries.
  • queries done to the databases/: SQL files for database manipulation.
  • database diagram/: Image file of the database diagram.

Cleaning and Exporting Data

The jupyter notebooks/ directory contains Jupyter notebooks documenting the process of cleaning the data, making graphs for visualization and exporting cleaned data as CSV files. The cleaned starting file is also included in this section.

Creating a SQL Database

Explore the sql queries for creating database table/ directory to find the queries dedicated to creating a SQL database. These queries detail the steps taken to make a SQL database.

Database Diagram

The database diagram/ directory contains a database diagram (police_db_diagram.png) illustrating the structure of the SQL database.

SQL Queries

The queries done to the databases/ directory includes SQL file which showcases SQL skills and demonstrate how to retrieve and filter data from the SQL database.

Usage

Explore the cleaned dataset and leverage the insights gained from the analysis.

Tableau Public Viz

Explore the interactive Tableau Public visualization to gain additional insights:

Driver stops Viz

police_dataset_project's People

Contributors

dominikvukelic avatar

Watchers

 avatar

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.