This post, my first in over year, improves upon the code in my last post. The crime-mapping app I posted in May 2017 included some kludgy, manual handling of dates, such that the categorical, rolling 12-month year labels were hard-coded, rather than dynamically updated with the data’s most recent date. This post presents a much smoother way to automatically assign those date labels, which obviates the need for a user to correctly, manually update that field when updating the data.Read More
Crime maps interest just about everyone. Government officials are interested in the need for and success of intervention programs, law enforcement officials are interested in policing needs, and private citizens are concerned about their safety and the safety of loved ones. This post presents code to create an interactive Shiny application that will allow the user to specify an address, the type of crime, and the time of day - or not, and instead just zoom around as their curiosity dictates - and see mapped crime incidents with dynamically adjusting annual crime stats in that specific area.
The data for this post come from the Baton Rouge, Louisiana Crime Incidents dataset.Read More
Shiny by Rstudio accomplishes an extraordinary and disruptive feat: it puts dissemination of interactive, analytic results in the hands of the analysts. In professional settings, there has historically been Business Intelligence (BI) software, with an interactive, user-friendly interface, separating those performing analyses in a program like R from business users. Shiny makes it possible to design that interactive, user-friendly interface in R itself, obviating the need to use an additional tool to make interactive, analytic results accessible to business users.
So, how would one take a Shiny app, such as the one we created in the previous post, and make it accessible to business users who probably don’t have R installed on their machines and may not be particularly technically savvy?
Guest post by data warehouse, Business Intelligence, and software architecture expert Michael Helms.Read More