#30DayMapChallenge: A “bad” map of the US

map

Places that start with “bad” (but not “badger”!)


Author

Affiliation

Harald Kliems ORCID ID for Harald Kliems

 

Published

Nov. 4, 2023

Citation

Kliems, 2023


The theme for today’s #30DayMapChallenge: Bad maps. Inspired by this map of German town’s starting with “Bad” (designating a spa town), I thought I’d do something similar for the US.

We get places names from the USGS Gazetteer files. Be warned that these are large files that will take a while to download and read.

Show code
library(tidyverse)
library(sf)
library(tmap)
url <- "https://prd-tnm.s3.amazonaws.com/StagedProducts/GeographicNames/FullModel/Gazetteer_National_GDB.zip"
zip_file <- tempfile(fileext = ".zip")
options(timeout=180) #file is large and times out with default timeout
download.file(url, zip_file, mode = "wb")
temp_dir <- tempdir()
places_dir <- unzip(zipfile = zip_file, exdir = temp_dir)

gazetteer_places <- st_read(paste0(temp_dir, "\\Gazetteer_National_GDB.gdb"), layer = "Gaz_Names") #layer with names
Reading layer `Gaz_Names' from data source 
  `C:\Users\user1\AppData\Local\Temp\RtmpkZQ702\Gazetteer_National_GDB.gdb' 
  using driver `OpenFileGDB'
Show code
gazetteer_geo <- st_read(paste0(temp_dir, "\\Gazetteer_National_GDB.gdb"), layer = "Gaz_Features")
Reading layer `Gaz_Features' from data source 
  `C:\Users\user1\AppData\Local\Temp\RtmpkZQ702\Gazetteer_National_GDB.gdb' 
  using driver `OpenFileGDB'
Simple feature collection with 980622 features and 19 fields
Geometry type: MULTIPOINT
Dimension:     XYZ
Bounding box:  xmin: -179.4681 ymin: -85.37423 xmax: 179.9833 ymax: 71.41745
z_range:       zmin: 0 zmax: 0
Geodetic CRS:  NAD83
Show code
all_places <- gazetteer_geo |> right_join(gazetteer_places, by = "feature_id")

Now we start filtering for places starting with “Bad”:

Show code
bad_places <- all_places |> 
  filter(str_detect(feature_name, "^[Bb]ad"))

This gives us 640 places, but just looking at the names of the first few shows that they’re not all “bad” places:

Show code
head(bad_places$feature_name)
[1] "Bad River"                    "Badger Creek"                
[3] "Badger Mountain Division"     "Bad River Indian Reservation"
[5] "Bad River Reservation"        "Badwater Creek"              

Two out of the 6 are not “bad” but “Badger.” After browsing through the full list of included names, I came with this heuristic to eliminate most “non-bad” names, such as “Baden,” “Badoff,” or “Badito.”

Show code
bad_places <- bad_places |> 
  filter(!str_detect(feature_name, "^[Bb]ad[degiou]"))
bad_places |> 
  st_drop_geometry() |> 
  select(feature_name, feature_class) |> 
  DT::datatable()

What type of places are most commonly bad?

Show code
bad_places |> 
  st_drop_geometry() |> 
  group_by(feature_class) |> 
  tally(sort = T) |> 
  DT::datatable()

Streams!

Let’s map all the 209 bad places:

Show code
tmap_mode("view")
tm_shape(bad_places) +
  tm_dots("feature_class", id = "feature_name",
          popup.vars = c("Type of feature" = "feature_class")) +
  tm_layout(title = "Bad Places in the United States")
Bad Places in the United States
feature_class
Area
Basin
Canal
Civil
Cliff
Crossing
Flat
Gut
Island
Lake
Populated Place
Range
Reservoir
Ridge
Spring
Stream
Summit
Swamp
Valley
Missing
Leaflet | Tiles © Esri — Esri, DeLorme, NAVTEQ

You can click on the points to display the name. We could add the names right on the map, but as bad places cluster together (and in the case of rivers and streams, the same feature shows up multiple times), this makes for a messy map:

Show code
tm_shape(bad_places) +
  tm_dots("feature_class", id = "feature_name",
          popup.vars = c("Type of feature" = "feature_class")) +
  tm_text("feature_name")
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Indian Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Bad River Reservation
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badwater Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Badkah Creek
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Land Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad Lands Cliffs
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River
Bad River Slough
Bad River Slough
Bad River Slough
Bad River Slough
Bad River Slough
Bad River Slough
Bad River Slough
Bad Rock-Columbia Heights Division
Bad Rock-Columbia Heights Division
Bad Rock-Columbia Heights Division
Bad Rock-Columbia Heights Division
Bad Rock-Columbia Heights Division
Bad Rock-Columbia Heights Division
Bad Route Creek
Bad Route Creek
Bad Route Creek
Bad Route Creek
Bad Route Creek
Bad Route Creek
Bad Canyon Creek
Bad Canyon Creek
Bad Canyon Creek
Bad Canyon Creek
Bad Canyon Creek
Badlands Hills
Badlands Hills
Badlands Hills
Badlands Hills
Badlands Hills
Bad River
Bad River
Bad River
Bad River
Bad Hand Creek
Bad Hand Creek
Bad Hand Creek
Bad Hand Creek
Bad River
Bad River
Bad River
Bad River
Bad Axe Creek
Bad Axe Creek
Bad Axe Creek
Bad Axe Creek
Bad Creek
Bad Creek
Bad Creek
Bad Creek
Badlands
Badlands
Badlands
Badlands
Bad Creek
Bad Creek
Bad Creek
Badlands
Badlands
Badlands
Badland Region
Badland Region
Badland Region
Bad Lands
Bad Lands
Bad Lands
Badlands National Monument
Badlands National Monument
Badlands National Monument
Bad Creek
Bad Creek
Bad Creek
Bad Luck Branch
Bad Luck Branch
Bad Luck Branch
Bad Luck Creek
Bad Luck Creek
Bad Luck Creek
Badfish Creek
Badfish Creek
Badfish Creek
Bad Creek
Bad Creek
Bad Creek
Badland Hills
Badland Hills
Badland Hills
Bad Gulch
Bad Gulch
Bad Gulch
Bad River Slough
Bad River Slough
Bad River Slough
Bad Medicine Lake
Bad Medicine Lake
Bad Medicine Lake
Bad East Gully
Bad East Gully
Bad East Gully
Badlands Creek
Badlands Creek
Badlands Creek
Bad Horse Creek
Bad Horse Creek
Bad Horse Creek
Bad Creek
Bad Creek
Bad Creek
Badland Draw
Badland Draw
Bad Water Creek
Bad Water Creek
Bad Bayou
Bad Bayou
Bad Branch
Bad Branch
Bad Branch
Bad Branch
Bad Lodge
Bad Lodge
Bad Creek
Bad Creek
Bad Canyon
Bad Canyon
Bad Creek
Bad Creek
Bad Creek
Bad Creek
Badlands Creek
Badlands Creek
Badlands Creek
Badlands Creek
Bad Branch
Bad Branch
Badboy Creek
Badboy Creek
Badland Coulee
Badland Coulee
Badland Coulee
Badland Coulee
Badlands Coulee
Badlands Coulee
Badland Coulee
Badland Coulee
Badbaby Coulee
Badbaby Coulee
Bad Land Gulch
Bad Land Gulch
Bad Land Creek
Bad Land Creek
Bad Banks Creek
Bad Banks Creek
Badlands
Badlands
Badley Gulch
Badley Gulch
Badland Creek
Badland Creek
Bad Axe
Bad Axe
Bad Axe Drain
Bad Axe Drain
Badwater Creek
Badwater Creek
Bad Luck Creek
Bad Luck Creek
Bad Branch
Bad Branch
Bad Creek
Bad Creek
Bad Creek
Bad Creek
Bad Fork
Bad Fork
Bad Fork
Bad Fork
Bad Hollow
Bad Hollow
Bad Indian Swamp
Bad Indian Swamp
Bad Branch
Bad Branch
Bad Prong
Bad Prong
Badland Coulee
Badland Coulee
Bad Canyon
Bad Canyon
Badland Coulee
Badland Coulee
Badland Creek
Badland Creek
Bad Canyon
Bad Canyon
Bad Branch
Bad Branch
Bad Branch
Bad Branch
Bad Creek
Bad Creek
Bad Creek
Bad Creek
Badway Branch
Badway Branch
Bad Branch
Bad Branch
Bad Axe River
Bad Axe River
Badlands Draw
Badlands Draw
Badka Creek
Badka Creek
Bad Creek
Bad Creek
Badfish Creek
Badfish Creek
Bad Point
Bad Point
Bad Luck Mountain
Bad Luck Mountain
Bad-luck Mountain
Bad-luck Mountain
Bad Luck Creek
Bad Luck Creek
Bad Branch
Bad Branch
Bad Branch Creek
Bad Branch Creek
Bad Creek
Bad Creek
Bad Water Creek Reservoir
Bad Water Creek Reservoir
Bad Branch
Bad Branch
Bad Branch
Bad Branch
Bad Bear Creek
Bad Bear Creek
Bad Bear Creek
Bad Bear Creek
Bad Luck Creek
Bad Luck Creek
Bad Luck Creek
Bad Luck Creek
Bad River
Bad River
Bady Creek
Bady Creek
Bad Gully
Bad Gully
Bad Luck Brook
Bad Luck Brook
Badluck Brook
Badluck Brook
Bad-luck Brook
Bad-luck Brook
Badland Draw
Badland Draw
Bad Luck Creek
Bad Luck Creek
Badrock Canyon
Badrock Canyon
Bad Branch
Bad Branch
Bad Branch
Bad Branch
Bad Fork
Bad Fork
Bad Hollow
Bad Hollow
Badlands Draw
Badlands Draw
Bad Hair Creek
Bad Hair Creek
Bad Creek
Bad Creek
Bad Land Coulee
Bad Land Coulee
Badwater Lakes
Badwater Lakes
Badland Hills
Badland Hills
Badlands Canyon
Badlands Canyon
Badwish'a
Badleys Ford
Badley's Ford
Bad Medicine Butte
Badlands
Bad Lands
Bad Lands
Badwater Springs
Bad Luck Mountain
Bad Humored Island
Bad Humoured Island
Badlands of the Little Missouri
Bad Land Number 1 Reservoir
Badlands Lakes
Badlands Tank
Badland Pond
Bad Bottom Tank
Badland Tank
Bad Luck Spring
Bad Bug Butte
Bad Land Number 2 Reservoir
Bad Tom Mountain
Bad Bear Peak
Badkah Lake
Bad Luck Swamp
Badluck Swamp
Bad Axe Lake
Bad Boy Lake
Bad Name Spring
Badcock Reservoir
Bad News Reservoir
Bad Lands
Bad Gods Tower
Bad Ridge
Badlands
Bad Stone Ditch
Bad Luck Mountain
Badwater Lake
Bad Spring (historical)
Bad Mountain
Bad Lands
Bad Island
Bad Knob
Bad Bayou
Badstove
Badston
Badstowe
Badwater
Badlands Tank
Badlands
Badwater
Badfords Landing (historical)
Badcock Lake
Bad Luck Lake
Bad-luck Pond
Bad Luck Pond
Badluck Lake
Badluck Pond
Badwater Basin
Bad Hill
Bad Dad
Badland Reservoir Number Two
Badlands
Badlands
Badcock Hill
Bad Marriage Mountain
Bad Land Butte
Badland Butte
Bad Wound
Badham
Bad Medicine Peaks
Bad Medicine Spires
Bad Medicine
Bad Medicine Spirit Dancers
Bad Medicine Sentinels
Bad Medicine Mountain
Badlands
Badnation
Badsky Pond
Badland Pond
Badlands Reservoir
Badaxe
feature_class
Area
Basin
Canal
Civil
Cliff
Crossing
Flat
Gut
Island
Lake
Populated Place
Range
Reservoir
Ridge
Spring
Stream
Summit
Swamp
Valley
Missing
Leaflet | Tiles © Esri — Esri, DeLorme, NAVTEQ

That’s all for today.

Footnotes

    Citation

    For attribution, please cite this work as

    Kliems (2023, Nov. 4). Harald Kliems: #30DayMapChallenge: A "bad" map of the US. Retrieved from https://haraldkliems.netlify.app/posts/2023-11-04-30daymapchallenge-a-bad-map-of-the-us/

    BibTeX citation

    @misc{kliems2023#30daymapchallenge:,
      author = {Kliems, Harald},
      title = {Harald Kliems: #30DayMapChallenge: A "bad" map of the US},
      url = {https://haraldkliems.netlify.app/posts/2023-11-04-30daymapchallenge-a-bad-map-of-the-us/},
      year = {2023}
    }