Skip to main content

All Questions

Tagged with
0 votes
0 answers
43 views

Interactive R maps that work well on mobile, with inset AK and HI?

Issue: I need an interactive choropleth map of the US that will work well on mobile (ideally pinch-zoom), has a pop-up on tap/click, and has AK and HI set below. Plotly isn't it as you have to tap the ...
Rine's user avatar
  • 11
1 vote
1 answer
41 views

How to draw a custom map in the style of NASAGIBS.ViirsEarthAtNight2012 using R

"NASAGIBS.ViirsEarthAtNight2012" is an optional layer parameter under the addProviderTiles function in the leaflet and leafletCN packages. I really like the drawing effect of this map. How ...
HighSE's user avatar
  • 13
0 votes
1 answer
103 views

Make smooth contours in when using leaflet and tmaps in R

I am using the script below to make to make interactive leaflet map. However, the contours have sharp changes and are not smooth and round. How can I edit this code to achieve that? The data and code ...
vp_050's user avatar
  • 508
1 vote
1 answer
54 views

Reduce ggplot display time for large plots/maps in RShiny

I have 51 * 10 maps organized as a list of st objects. My aim is to plot my 51 maps along the 10 timestep (ech) in a ShinyApp. The timesteps can be selected by the user in the ui part. The problem is ...
Chika's user avatar
  • 1,487
0 votes
1 answer
926 views

plot a map using lat and lng coordinates in R

My data set has 4 columns which are station_name, station_lat, station_lng and count.This is the example of my data set. stations <- data.frame(station = c("StreeterDr", "MichiganAve&...
KalsaraL's user avatar
0 votes
0 answers
238 views

How to Create Senate Roll Call Voting Map in R

I am looking to ultimately render a map in Leaflet that shows the roll call voting results for a specific vote from the Senate. This obviously involves coloring a state polygon based on the unique ...
Jared's user avatar
  • 81
0 votes
1 answer
229 views

Leaflet equivalent of geom_segments xend, yend arguments

I would like to ask is there a way how to set xend and yend from geom_segment arguments in leaflet`s addPolylines function? insted of explaining I rather provide reproduceble example since it is mut ...
Petr's user avatar
  • 1,757
0 votes
1 answer
304 views

Create icons from standard barplot (or ggplot2 geom_col) with single bar

I want to create png icons with single bar (from standard barplot or ggplot2 geom_col). Icons will be presented on leaflet map. There is data.frame: lat,lon,val. Parameter "val" is used to set height ...
Big Z's user avatar
  • 65
0 votes
2 answers
3k views

Shiny R dynamic heatmap with ggplot. Scale and speed issues

I am attempting to use some public information to produce a heat-map of Canada for some labor statistics. Using the spacial files from the census, and data from Statistics Canada (these are large zip ...
Mitch14's user avatar
4 votes
1 answer
1k views

Show Polylines when mouse hover on Circles in leaflets in R

I have a flow Map - using leaflets in R library(leaflet) m <- leaflet(AM_Peak) %>% addTiles('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', attribution='Map tiles by <a href="...
Prasanna Nandakumar's user avatar
6 votes
5 answers
7k views

Flow map(Travel Path) Using Lat and Long in R

I am trying to plot flow map (for singapore) . I have Entry(Lat,Long) and Exit (Lat,long). I am trying to map the flow from entry to exit in singapore map. structure(list(token_id = c(1.12374e+19, 1....
Prasanna Nandakumar's user avatar