All Questions
86
questions
-1
votes
1
answer
91
views
Trying to create a bubble map of Australia
Name Lat Long
XX -20.6544 150.9149
This is how my data looks like with over 1000 entries
The code I tried is below.
# Library
library(leaflet)
# load example data (Fiji EarthPostcode) + ...
0
votes
1
answer
625
views
Reactive Leaflet Map Not Recognizing 2nd Color Palette
I posted a similar question, but didn't make my example minimal enough, so I tried to pare it down some. So here's the problem:
I am working on a COVID19 project to visualize the spread of the virus ...
0
votes
2
answers
405
views
Chinese province coordinates in r
Does anyone knows how to access the coordinates by regions for China. The code below shows the same thing that I am looking for China. Many thanks in advance
require(maps)
states_map <- map_data(&...
5
votes
2
answers
3k
views
Leaflet not rendering in dynamically generated R markdown html knitr
I've created a R markdown report where the sections and tabsets are dynamically created.
I have an issue where the Leaflet maps are not being generated in the output, but rather a blank white space. ...
1
vote
1
answer
550
views
R Shiny --> FillOpacity Argument in AddCircles Function Ignored
I am working on a R Shiny project to visualize all of the airports in the world. The code included below is a sample of my project. Functionally, the app works as expected - The data table and map ...
0
votes
1
answer
90
views
how to plot a map only with lat, long without group in R
I am having issues with plotting a UK map. Indeed, I have issues plotting because maybe I do not have a group as a variable. This is the type of data I have.
lft_j <- structure(list(journeydate = ...
0
votes
0
answers
727
views
Adding circle markers on leaflet R on to a map already plotted
bins <- c(0,10,20,30,40,50,Inf)
pal <- colorNumeric(
palette = c('Grey', '#C9E1F9', '#BCD2E8', '#86ACC6', '#73A5C6', '#528AAE', '#2E5984', '#1E3F66', '#152B46'),
domain = ar_prov_objetivos$...
0
votes
1
answer
171
views
maps::map() returning region names instead of country names
I am trying to create a pop up for each country on a leaflet map showing the name of the country and a number. I have though come upon a similar problem in stack exchange here.
country <- c("...
0
votes
1
answer
487
views
R-Leaflet : Merged Shapefile and Excel appeared successful, but highlight label reveals that the 31 polygons are only filled w/ 4 repeating values
I am working on a map for my internship. I have the shapefile of the city of Villeneuve d'Ascq's subdivisions (referred to as "IRIS" in France) that I am mapping, and separate CSVs with various ...
0
votes
1
answer
229
views
I cannot get slider inputs to modify a map in shiny
I cannot get the map to react with the sliders. THe data was from https://www.kaggle.com/nasa/meteorite-landings/data#
when i move the sliders the map "refreshes" like it resets itself as if something ...
1
vote
1
answer
1k
views
How to retrieve point location data from a WMS leaflet layer?
I am very new to working with maps and was given a task to collect data on points from this website: https://mapadefosas.mjusticia.es/exovi_externo/CargarMapaFosas.htm#
So far I have managed to ...
0
votes
1
answer
2k
views
Get longitude and latitude from a shapefile with Leaflet in R
I've been trying to map with leaflet to add addCircles() but my shapefile doesn't seem to have the latitude lat and longitude lng parameters so I got the centroids for each city as is the code below ...
1
vote
0
answers
91
views
Map Australia - no oultine
Got code from here:
Map Australian cities - R spatial
But when I run it, it gives the map shown:
library(maps)
df <- world.cities[world.cities$country.etc == "Australia",]
library(leaflet)
## ...
12
votes
2
answers
10k
views
How can I plot individual data points in a map using R/ leaflet?
I am trying to show the individual points in a given place, like a map equivalent of dot plot. I tried with leaflet library in R, but I am only able to map the size of the marker to the continuous ...