10 minutes

Wait 5 sec.

[This article was first published on r.iresmi.net, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. 10:10:10 on 10/10/10 – “Give Me A Little More Time” – CC-BY-NC-SA by Jill ClardyDay 13 of 30DayMapChallenge: « 10 minute map » (previously).Where can you go in 10 minutes (by car) from Les Minutes?library(osrm)library(leaflet)library(glue)DataWe use {osrm} to build the isochrone. The service is based on OpenStreetMap data.loc addTiles(attribution = glue("r.iresmi.net – {Sys.Date()}. Data OSRM & © OpenStreetMap, ODbL ; Fix the map")) |> addPolygons() |> addAwesomeMarkers(lng = loc[1], lat = loc[2]){"x":{"options":{"crs":{"crsClass":"L.CRS.EPSG3857","code":null,"proj4def":null,"projectedBounds":null,"options":{}}},"calls":[{"method":"addTiles","args":["https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",null,null,{"minZoom":0,"maxZoom":18,"tileSize":256,"subdomains":"abc","errorTileUrl":"","tms":false,"noWrap":false,"zoomOffset":0,"zoomReverse":false,"opacity":1,"zIndex":1,"detectRetina":false,"attribution":"r.iresmi.net – 2025-11-13. Data OSRM & © OpenStreetMap, ODbL ; Fix the map"}]},{"method":"addPolygons","args":[[[[{"lng":[4.166842964982031,4.166176311709958,4.166842964982031,4.167509618254105,4.166842964982031],"lat":[45.91636600958532,45.91590221187114,45.91543841028059,45.91590221187114,45.91636600958532]}],[{"lng":[4.172953953309373,4.172080954976896,4.16906514255561,4.166842964982031,4.164093020234727,4.166842964982031,4.174176150974842,4.181509336967651,4.188842522960471,4.192101716735053,4.196175708953281,4.199195256126791,4.196175708953281,4.188842522960471,4.18631383813536,4.188842522960471,4.190937718958416,4.188842522960471,4.181509336967651,4.174176150974842,4.172953953309373],"lat":[45.91080018117424,45.90569768143369,45.90059471264689,45.89740511896635,45.89549127481109,45.89357736469547,45.89193405590719,45.89038736792381,45.89322292965782,45.89549127481109,45.89849335387282,45.90059471264689,45.90269599189359,45.90337820831336,45.90569768143369,45.90934237196722,45.91080018117424,45.91225795209197,45.91197761450452,45.91165055219612,45.91080018117424]}],[{"lng":[4.144843407003592,4.139954616341718,4.137510221010781,4.134576946613658,4.130843688290044,4.130177035017971,4.129510381745898,4.122843849025161,4.121621651359691,4.115510663032342,4.112794668220189,4.110927421786836,4.108177477039532,4.105427532292228,4.100844291046721,4.103135911669474,4.108177477039532,4.109966058988998,4.108177477039532,4.104177557407089,4.100844291046721,4.097585097272138,4.100844291046721,4.103372975871828,4.108177477039532,4.115510663032342,4.122843849025161,4.124340417595121,4.124632430974627,4.125135469647915,4.126703420600323,4.128484761327322,4.130177035017971,4.13186930870862,4.133650649435618,4.137510221010781,4.141002214340691,4.139390525111502,4.140330677161863,4.144843407003592,4.152176592996402,4.153398790661871,4.152176592996402,4.150296288895681,4.148684599666492,4.152176592996402,4.157527836829,4.159509778989221,4.163369350564384,4.166176311709958,4.162843045349589,4.165150691291382,4.166842964982031,4.16853523867268,4.170842884614474,4.167509618254105,4.174176150974842,4.177195698148352,4.178576062570527,4.179720755018185,4.179949084628756,4.180125716969008,4.181509336967651,4.186476979091819,4.186962218859748,4.181509336967651,4.176056455075562,4.174176150974842,4.173113370396173,4.166842964982031,4.159509778989221,4.153141485890194,4.152176592996402,4.150296288895681,4.150388011046936,4.152176592996402,4.156793784177065,4.153868866687053,4.152176592996402,4.150484319305753,4.144843407003592],"lat":[45.89889361881829,45.89549127481109,45.89123805164483,45.89549127481109,45.90059471264689,45.90105863828239,45.90059471264689,45.89634188035668,45.89549127481109,45.89366850476812,45.89549127481109,45.90059471264689,45.90250838090846,45.90059471264689,45.89549127481109,45.89038736792381,45.88687815985092,45.8852829919824,45.88296266604002,45.88017814698426,45.87734191930551,45.8750728329268,45.87280365389388,45.86996704980741,45.8666216272248,45.8661701377724,45.86565868044726,45.86486079762368,45.85975407637299,45.85464688605282,45.84953922666062,45.84443109819404,45.84325223270275,45.84443109819404,45.84953922666062,45.85054076547265,45.84953922666062,45.84443109819404,45.83932250065052,45.83617851516431,45.83847102212172,45.83932250065052,45.84017396614933,45.84443109819404,45.84953922666062,45.85091972140133,45.85464688605282,45.85554291828248,45.85464688605282,45.84953922666062,45.84443109819404,45.83932250065052,45.83814352691035,45.83932250065052,45.84443109819404,45.84953922666062,45.85254378899361,45.85464688605282,45.85975407637299,45.86486079762368,45.86996704980741,45.8750728329268,45.87671975967934,45.88017814698426,45.8852829919824,45.89038736792381,45.8852829919824,45.88419689403155,45.8852829919824,45.88964763235811,45.88971576630898,45.8852829919824,45.88462005160219,45.8852829919824,45.89038736792381,45.89227775849866,45.89549127481109,45.90059471264689,45.90177236245992,45.90059471264689,45.89889361881829]},{"lng":[4.166842964982031,4.16593763337798,4.166842964982031,4.168403217320927,4.166842964982031],"lat":[45.88091800865637,45.88017814698426,45.87945911704627,45.88017814698426,45.88091800865637]},{"lng":[4.119002656362255,4.115510663032342,4.109399674705,4.115510663032342,4.119002656362255],"lat":[45.8750728329268,45.87666829395715,45.8750728329268,45.87376370248471,45.8750728329268]}],[{"lng":[4.091415909055963,4.093511105053911,4.100844291046721,4.093511105053911,4.091415909055963],"lat":[45.89549127481109,45.89403306356295,45.89549127481109,45.90059471264689,45.89549127481109]}],[{"lng":[4.156250585214635,4.159509778989221,4.166842964982031,4.168065162647499,4.166842964982031,4.159509778989221,4.156250585214635],"lat":[45.82910389832279,45.82683284299501,45.82825226343332,45.82910389832279,45.82995552018216,45.83137486099198,45.82910389832279]}]]],null,null,{"interactive":true,"className":"","stroke":true,"color":"#03F","weight":5,"opacity":0.5,"fill":true,"fillColor":"#03F","fillOpacity":0.2,"smoothFactor":1,"noClip":false},null,null,null,{"interactive":false,"permanent":false,"direction":"auto","opacity":1,"offset":[0,0],"textsize":"10px","textOnly":false,"className":"","sticky":true},null]},{"method":"addAwesomeMarkers","args":[45.8725235,4.1485138,null,null,null,{"interactive":true,"draggable":false,"keyboard":true,"title":"","alt":"","zIndexOffset":0,"opacity":1,"riseOnHover":false,"riseOffset":250},null,null,null,null,null,{"interactive":false,"permanent":false,"direction":"auto","opacity":1,"offset":[0,0],"textsize":"10px","textOnly":false,"className":"","sticky":true},null]}],"limits":{"lat":[45.82683284299501,45.91636600958532],"lng":[4.091415909055963,4.199195256126791]}},"evals":[],"jsHooks":[]}Figure 1: Where can you go in 10 minutes (by car) from Les Minutes?In less than 10 minutes… To leave a comment for the author, please follow the link and comment on their blog: r.iresmi.net.R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.Continue reading: 10 minutes