An introduction to leaflet maps in R


Presented September 19, 2017. 

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. 

Sub topics: 
· 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
If you have questions with the installation, please contact me

Primary Topic Areas: 
Original Publication Year: 
Event/Publication Date: 
September, 2017

September 28, 2017

Contact Us

NSSP Community of Practice



This website is supported by Cooperative Agreement # 6NU38OT000297-02-01 Strengthening Public Health Systems and Services through National Partnerships to Improve and Protect the Nation's Health between the Centers for Disease Control and Prevention (CDC) and the Council of State and Territorial Epidemiologists. Its contents are solely the responsibility of the authors and do not necessarily represent the official views of CDC. CDC is not responsible for Section 508 compliance (accessibility) on private websites.

Site created by Fusani Applications