This project can be seen at https://samuellee19.github.io/econ122_sqf/.
Since GitHub has a problem loading Shiny app from shinyapps.io, we added a link with a screenshot from the dashboard. The interactive dashboard can be accessed at https://samuellee19.shinyapps.io/SFQ_Final_Project/ (Note: it could take some time if the server is in the idle state)
The followings are the list of files used in this project, as well as, files uploaded on this GitHub repository.
Link: http://bit.ly/DSFinalProjectData
Files:
2003.csv
: 2003 Stop and Frisk Data2004.csv
: 2004 Stop and Frisk Data2005.csv
: 2005 Stop and Frisk Data2006.csv
: 2006 Stop and Frisk Data2007.csv
: 2007 Stop and Frisk DataSQF1718.csv
: 2017 and 2018 Stop and Frisk Data for Visualization2008.csv
: 2008 Stop and Frisk DataX2018_sqf_codebook.csv
: 2018 Stop and Frisk Data's Variable Information2009.csv
: 2009 Stop and Frisk DataX2018_sqf_codebook.xlsx
: 2018 Stop and Frisk Data's Variable Information as Excel2010.csv
: 2010 Stop and Frisk DataX2018_sqf_database.csv
: 2018 Stop and Frisk Data2011.csv
: 2011 Stop and Frisk DataX2018_sqf_database.xlsx
: 2018 Stop and Frisk Data2012.csv
: 2012 Stop and Frisk Datacrime_by_precinct.csv
: Crime Information 2000-20182013.csv
: 2013 Stop and Frisk Data2014.csv
: 2014 2013 Stop and Frisk Data2016_sqf_database.csv
: 2016 2013 Stop and Frisk Datasqf-2015.csv
: 2015 2013 Stop and Frisk Data2017_sqf_database.csv
: 2017 2013 Stop and Frisk Datasqf-2017.csv
: 2017 2013 Stop and Frisk Data2018_sqf_database.csv
: 2018 2013 Stop and Frisk Datasqf-2017.xlsx
: 2017 2013 Stop and Frisk Data
The SQF datasets were transformed into sf objects for map projections. Standard data munging is not available for sf objects, so we generated separate sf objects to shorten time consumed from the transformation processes.
Hence, creating sf objects were performed with following settings:
- EPSG:2263
- NAD83
- WGS84 Bounds
Further details can be seen on Samuel's parts (Part_Samuel.Rmd
,app.R
).
Link: https://bit.ly/2EHm3q4
Files:
plot_locations_0407.RData
: 2004-2007 SQF SF Objectsplot_locations_0407SF.RData
: 2004-2007 SQF SF Objects limited toSeven Major Felonies
plot_locations_0812.RData
: 2008-2012 SQF SF Objectsplot_locations_0812SF.RData
: 2008-2012 SQF SF Objects limited toSeven Major Felonies
plot_locations_1316.RData
: 2013-2016 SQF SF Objectsplot_locations_1316SF.RData
: 2013-2016 SQF SF Objects limited toSeven Major Felonies
plot_locations_1718.RData
: 2017-2018 SQF SF Objectsplot_locations_1718SF.RData
: 2017-2018 SQF SF Objects limited toSeven Major Felonies
Files:
Part_Priyanka.Rmd
: Codes from Priyanka's partPart_Samuel.Rmd
: Data Transformation Code from Samuel's partSFQ_Final_Project
: Relevant Code for Shiny App ImplementationREADME.md
: List of Files and Explanation