laquinta: Locations of La Quinta Inn motels

laquintaR Documentation

Locations of La Quinta Inn motels

Description

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/.

Usage

laquinta

Format

A tibble with 909 rows and 6 variables:

address

Street address of the motel

city

City of the motel

state

US State of the motel

zip

US ZIP Code of the motel

longitude

The longitude of the motel in degrees.

latitude

The latitude of the motel in degrees.

Source

https://github.com/johnjreiser/HedbergGIS

Examples


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()

rstudio-education/dsbox documentation built on Oct. 22, 2023, 12:20 a.m.