Skip to main content

All Questions

Tagged with
7 votes
4 answers
7k views

Zooming into State to view ZipCode using R Leaflet

I am using R leaftlet package to create a interactive choropleth of the U.S. There are several tutorials online and I am able to create interactive state level map with popups and zooming. Also I was ...
user2961712's user avatar
6 votes
3 answers
2k views

Subsetting geojson data with R

I have a geojson file of state boundaries that I obtained from here. In particular I'm using the 20m US States Data I'm trying to subset the data so that I can use leaflet to map only certain states. ...
Kactus's user avatar
  • 122
5 votes
1 answer
744 views

Leaflet polygons losing colour when R Shiny app opened in web browser

I'm building a map using leaflet in R, to be deployed as a Shiny app. The Shiny app is working fine within RStudio, but when I open it in a web browser the polygons lose their colour. Everything else ...
JaydenM-C's user avatar
  • 288
4 votes
1 answer
2k views

Trouble reading in geojson/json file into R for plotting on map

I'm trying to read in a json file which contains polylines into R for plotting in leaflet or ggmap. The file is in the geojson format. The file can be found at: http://datasets.antwerpen.be/v4/gis/...
Jeroen Boeye's user avatar