Map clustering using R and leaflet

I am using a booklet in R (just starting to use it). I like how clustering / rendering is done in the post below. The programmer uses Java. What I cannot find in the / R worksheet is how to create a cluster circle with a number, that is, a brief summary of the number of markers, a response to the number of markers present that respond to scaling. I can get various markers on the map, but not a response to scaling.

Example Sheet Simple CSV

http://blog.perrygeo.net/2013/09/30/leaflet-simple-csv

If this is not possible in the R / leaflet. I am trying to show: one zip code has 10 visits and one zip code has 1 visits. I want to use R / Shiny to create a project. If the leaflet is not the best, I am open to other options (googlevis?). I'm new to matching, so I might be missing out on something simple ...

Thank you so much for your help.

+7
r shiny leaflet googlevis
source share
1 answer

This feature is documented here in the Marker Clusters section.

You just need to add the option clusterOptions = markerClusterOptions() to the addMarkers() call.

+2
source share

All Articles