Le CASVP (Centre d’Action Sociale de la Ville de Paris) exploite 42 restaurants dans deux réseaux : les restaurants Émeraude, ouverts aux Parisiens de 60 ans et plus à tarif subventionné, et les restaurants Solidarité, pour les personnes en situation de précarité.
Code
rest |> dplyr::count(categorie, name ="Restaurants") |> gt::gt() |> gt::tab_options(table.width ="100%")
categorie
Restaurants
Solidarité
7
Émeraude (seniors)
35
Carte
Code
ggplot() +geom_sf(data = arr_sf, fill ="grey96", colour ="white") +geom_sf(data = pts_sf, aes(colour = categorie), size =2.2, alpha =0.9) +scale_colour_manual(values = pal_cat, name =NULL) +labs(title ="Restaurants du CASVP",subtitle ="Émeraude (seniors) et Solidarité") + theme_carte +theme(legend.position ="bottom")
Carte interactive
Code
pal <- leaflet::colorFactor(unname(pal_cat), domain =names(pal_cat))leaflet::leaflet(pts_sf, options = leaflet::leafletOptions(minZoom =11)) |>paris_basemap() |> leaflet::addPolygons(data = arr_sf, fill =FALSE, color ="#999", weight =1) |> leaflet::addCircleMarkers(radius =6, stroke =FALSE, fillOpacity =0.85,fillColor =~pal_cat[categorie],label =~nom_restaurant,popup =~sprintf("<b>%s</b><br>%s<br>%s", nom_restaurant, adresse, categorie) ) |> leaflet::addLegend("bottomright", pal = pal, values =~categorie, title =NULL, opacity =0.9)