Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jillmpla/datawithr
Visualizing data stored in an SQLite database with R.
https://github.com/jillmpla/datawithr
csv r r-visualisation sqlite sqlite-database visualization visualize-data
Last synced: about 23 hours ago
JSON representation
Visualizing data stored in an SQLite database with R.
- Host: GitHub
- URL: https://github.com/jillmpla/datawithr
- Owner: jillmpla
- License: mit
- Created: 2020-08-27T01:56:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T02:00:55.000Z (about 4 years ago)
- Last Synced: 2024-05-02T04:05:20.868Z (7 months ago)
- Topics: csv, r, r-visualisation, sqlite, sqlite-database, visualization, visualize-data
- Language: R
- Homepage:
- Size: 877 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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:
- Imported CSV file into a SQLite database using DB Browser
- Used/Installed RSQLite and ggplot2 packages for R
- Used R 3.4.2 and R Studio to connect to database and visualize data/queries
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.