jillmpla / datawithr

Visualizing data stored in an SQLite database with R.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualizing Data with R

Languages: R, SQL (SQLite)

Purpose of the project: To store, clean, and visualize a https://www.data.gov/ CSV file using R and SQLite.

The CSV file used for this project was downloaded from: Index_Crimes_by_County_and_Agency__Beginning_1990.csv.

The file includes data on various types of New York State crimes committed from 1990 through 2016.

Note: I deleted 393 rows with empty data/0 months reported after importing the CSV to a SQLite database.

Project information:

Queries visualized include:

  • 2015 NYS Violent Crimes by County - Scatter Plot
  • 1990-2016 Nassau County Violent Crimes - Bar Chart
  • 1990-2016 SUNY Robberies - Bar Chart
  • 1990-2016 Saratoga County Larcenies - Line Graph
  • 1990-2016 New York State Murders by County - Scatter Plot

All of these graphs and their corresponsing R scripts, as well as the CSV file and SQLite database, are available in this repository.

About

Visualizing data stored in an SQLite database with R.

License:MIT License


Languages

Language:R 100.0%