laquinta | R Documentation |
Dataset describing the locations of 909 La Quinta Inn locations in the United States. Each observation corresponds to one motel, with motel information scraped from https://www.lq.com/en/findandbook/hotel-listings.html. 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/.
laquinta
A tibble with 909 rows and 6 variables:
Street address of the motel
City of the motel
US State of the motel
US ZIP Code of the motel
The longitude of the motel in degrees.
The latitude of the motel in degrees.
https://github.com/johnjreiser/HedbergGIS
library(ggplot2)
library(dplyr)
laquinta |>
group_by(state) |>
summarise(motels = n()) |>
arrange(desc(factor(motels))) |>
slice_head(n = 10) |>
ggplot(aes(x = reorder(state, -motels), y = motels)) +
geom_col()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.