dennys | R Documentation |
Dataset describing the locations of 1643 Denny's Restaurants in the United States. Each observation corresponds to one restaurant, with restaurant information scraped from https://locations.dennys.com/. The process used to obtain the geographic data is described in a blog post here http://njgeo.org/2014/01/30/mitch-hedberg-and-gis/.
dennys
A tibble with 1643 rows and 6 variables:
Street address of the restaurant.
City of the restaurant.
US State of the restaurant.
US ZIP Code of the restaurant.
The longitude of the restaurant. in degrees.
The latitude of the restaurant. in degrees.
https://github.com/johnjreiser/HedbergGIS
library(ggplot2)
library(dplyr)
dennys |>
group_by(state) |>
summarise(restaurants = n()) |>
arrange(desc(factor(restaurants))) |>
slice_head(n = 10) |>
ggplot(aes(x = reorder(state, -restaurants), y = restaurants)) +
geom_col()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.