Gene Leynes is a data scientist for the City of Chicago working on smart city projects that use predictive analytics to optimize city operations. His projects include food inspection violation forecasting, West Nile Virus predictions, childhood lead poisoning prevention, and various inspection optimization work. His work has been featured on PBS Newshour, the Wall Street Journal, The Atlantic’s CityLab, and was presented at the 2016 UseR! conference in Stanford, CA.
Gene has been an R user for about 10 years, and making maps in R for the past 2 years. He holds a Masters of Business from the University of Chicago’s Booth School of Business, and a Bachelor of Science in Mathematics from DePaul University.
The main goal of this talk is to demonstrate map making in R using leaflet. We will cover trivial and non-trivial examples. I use the data.table package as my default data container and for all data manipulation.
· Examples of various map types: points, choropleths, and heat maps
· Creating sharable maps in html using knitr
· Basic minimal project organization for the development of a reproducible map
· Data acquisition from tigris, the ACS, and the Chicago data portal
· KDE heat map calculations
The project and code is available online at https://github.com/geneorama/wnv_map_demo/
If you have questions with the installation, please contact me email@example.com