Introduction

This report explores the percentage of renter-occupied households across the Greater Nashville area using data from the 2024 American Community Survey (ACS) 5-Year Estimates, representing the period from 2020 through 2024.

The analysis examines county subdivisions within Davidson, Rutherford, Williamson, Cheatham, Robertson, Sumner, and Wilson counties. By examining smaller geographic areas rather than countywide averages, this analysis provides a more detailed understanding of rental housing patterns across Middle Tennessee.

An interactive dot plot and choropleth map are used to visualize geographic differences in renter-occupied households, while incorporating ACS margins of error to account for uncertainty in the estimates.

Data Collection and Preparation

Load Required Packages

The following R packages are used to retrieve, organize, analyze, and visualize American Community Survey data.

required_packages <- c(
  "tidycensus",
  "tidyverse",
  "kableExtra",
  "sf",
  "leaflet",
  "htmlwidgets",
  "plotly"
)

for (pkg in required_packages) {
  if (!requireNamespace(pkg, quietly = TRUE)) {
    install.packages(pkg)
  }
}

library(tidycensus)
library(tidyverse)
library(kableExtra)
library(sf)
library(leaflet)
library(htmlwidgets)
library(plotly)

Verify Census API Key

A Census API key is required to retrieve data directly from the U.S. Census Bureau. The following code verifies that the key is available without displaying the private API credentials.

if (!nzchar(Sys.getenv("CENSUS_API_KEY"))) {
  stop("No Census API key was found.")
}

cat("Census API key successfully verified.")
## Census API key successfully verified.

Analysis Configuration

This analysis uses the 2024 ACS 5-Year Estimates to examine the percentage of renter-occupied households at the county subdivision level across seven Middle Tennessee counties.

The ACS variable DP04_0047P represents the percentage of occupied housing units that are renter-occupied.

acs_year <- 2024

state_abbrev <- "TN"

my_variable <- "DP04_0047P"

geography_level <- "county subdivision"

selected_counties <- c(
  "Davidson",
  "Rutherford",
  "Williamson",
  "Cheatham",
  "Robertson",
  "Sumner",
  "Wilson"
)

American Community Survey Codebook

The ACS profile tables provide variable names, descriptions, and definitions for the demographic, economic, social, and housing characteristics measured by the Census Bureau.

ProfileTables <- load_variables(
  acs_year,
  "acs5/profile"
)

Retrieve Census Data

The following code retrieves renter-occupied household estimates, associated margins of error, and geographic boundary data for the selected county subdivisions.

if (is.null(selected_counties)) {
  
  mydata <- get_acs(
    geography = geography_level,
    state = state_abbrev,
    year = acs_year,
    survey = "acs5",
    variables = my_variable,
    geometry = TRUE
  )
  
} else {
  
  mydata <- get_acs(
    geography = geography_level,
    state = state_abbrev,
    county = selected_counties,
    year = acs_year,
    survey = "acs5",
    variables = my_variable,
    geometry = TRUE
  )
  
}

cat("Total county subdivisions retrieved:", nrow(mydata))
## Total county subdivisions retrieved: 123

Data Preparation

The retrieved data are organized to retain the geographic area, ACS variable, estimated percentage of renter-occupied households, margin of error, and geographic boundaries.

mydata <- mydata |>
  select(
    Area = NAME,
    Variable = variable,
    Estimate = estimate,
    Margin_of_Error = moe,
    geometry
  )

mydata <- st_transform(
  mydata,
  crs = 4326
)

County Boundaries

County boundary data are retrieved to provide geographic context and distinguish individual counties within the interactive map.

if (is.null(selected_counties)) {
  
  county_boundaries <- get_acs(
    geography = "county",
    state = state_abbrev,
    year = acs_year,
    survey = "acs5",
    variables = my_variable,
    geometry = TRUE
  )
  
} else {
  
  county_boundaries <- get_acs(
    geography = "county",
    state = state_abbrev,
    county = selected_counties,
    year = acs_year,
    survey = "acs5",
    variables = my_variable,
    geometry = TRUE
  )
  
}

county_boundaries <- st_transform(
  county_boundaries,
  4326
)

Results

Renter-Occupied Household Estimates

The following table presents the estimated percentage of renter-occupied households across all 123 county subdivisions, ranked from highest to lowest. Margins of error are expressed in percentage points and reflect the uncertainty associated with each ACS estimate.

mydata <- mydata |>
  arrange(desc(Estimate))

ResultsTable <- mydata |>
  st_drop_geometry() |>
  kbl(
    col.names = c(
      "Area",
      "ACS Variable",
      "Estimate (%)",
      "Margin of Error (± pp)"
    ),
    digits = 2,
    format.args = list(big.mark = ","),
    caption = "Table 1. Renter-Occupied Households by County Subdivision, 2020–2024 ACS"
  ) |>
  kable_styling(
    bootstrap_options = c("striped", "hover"),
    full_width = FALSE
  ) |>
  scroll_box(
    width = "100%",
    height = "500px"
  )

ResultsTable
Table 1. Renter-Occupied Households by County Subdivision, 2020–2024 ACS
Area ACS Variable Estimate (%) Margin of Error (± pp)
District 17, Rutherford County, Tennessee DP04_0047P 79.8 5.6
District 19, Davidson County, Tennessee DP04_0047P 79.6 3.0
District 21, Davidson County, Tennessee DP04_0047P 74.6 2.7
District 32, Davidson County, Tennessee DP04_0047P 68.0 4.2
District 12, Robertson County, Tennessee DP04_0047P 67.6 9.1
District 16, Rutherford County, Tennessee DP04_0047P 64.3 5.4
District 17, Davidson County, Tennessee DP04_0047P 61.7 3.5
District 14, Davidson County, Tennessee DP04_0047P 61.2 3.8
District 10, Davidson County, Tennessee DP04_0047P 58.8 5.3
District 2, Davidson County, Tennessee DP04_0047P 58.6 5.3
District 20, Wilson County, Tennessee DP04_0047P 56.8 9.0
District 27, Davidson County, Tennessee DP04_0047P 56.4 4.0
District 5, Davidson County, Tennessee DP04_0047P 56.3 4.3
District 9, Davidson County, Tennessee DP04_0047P 55.5 3.6
District 16, Davidson County, Tennessee DP04_0047P 55.5 4.7
District 18, Davidson County, Tennessee DP04_0047P 55.4 5.8
District 11, Rutherford County, Tennessee DP04_0047P 54.9 5.3
District 12, Rutherford County, Tennessee DP04_0047P 53.9 6.6
District 13, Davidson County, Tennessee DP04_0047P 52.8 5.2
District 30, Davidson County, Tennessee DP04_0047P 52.0 4.6
District 18, Rutherford County, Tennessee DP04_0047P 50.7 5.3
District 26, Davidson County, Tennessee DP04_0047P 50.6 4.7
District 20, Davidson County, Tennessee DP04_0047P 49.0 4.6
District 5, Sumner County, Tennessee DP04_0047P 48.0 4.8
District 13, Rutherford County, Tennessee DP04_0047P 46.1 7.4
District 21, Wilson County, Tennessee DP04_0047P 45.4 8.7
District 28, Davidson County, Tennessee DP04_0047P 45.3 4.9
District 6, Davidson County, Tennessee DP04_0047P 45.2 3.8
District 8, Davidson County, Tennessee DP04_0047P 44.7 5.2
District 4, Sumner County, Tennessee DP04_0047P 43.6 4.5
District 29, Davidson County, Tennessee DP04_0047P 43.1 4.4
District 21, Rutherford County, Tennessee DP04_0047P 42.7 6.0
District 24, Davidson County, Tennessee DP04_0047P 41.8 4.0
District 7, Rutherford County, Tennessee DP04_0047P 41.2 5.3
District 15, Rutherford County, Tennessee DP04_0047P 41.0 5.8
District 22, Davidson County, Tennessee DP04_0047P 40.1 3.9
District 10, Sumner County, Tennessee DP04_0047P 39.6 6.2
District 24, Wilson County, Tennessee DP04_0047P 39.5 8.0
District 17, Wilson County, Tennessee DP04_0047P 39.1 8.3
District 5, Rutherford County, Tennessee DP04_0047P 38.6 6.4
District 4, Williamson County, Tennessee DP04_0047P 38.4 3.9
District 8, Sumner County, Tennessee DP04_0047P 38.3 5.6
District 31, Davidson County, Tennessee DP04_0047P 38.2 4.1
District 12, Davidson County, Tennessee DP04_0047P 37.4 4.9
District 23, Davidson County, Tennessee DP04_0047P 37.2 4.2
District 15, Davidson County, Tennessee DP04_0047P 36.9 5.4
District 7, Davidson County, Tennessee DP04_0047P 35.7 3.6
District 11, Wilson County, Tennessee DP04_0047P 34.7 6.9
District 4, Davidson County, Tennessee DP04_0047P 34.0 4.7
District 16, Wilson County, Tennessee DP04_0047P 33.9 8.8
District 7, Wilson County, Tennessee DP04_0047P 33.6 8.0
District 1, Cheatham County, Tennessee DP04_0047P 33.0 6.8
District 12, Williamson County, Tennessee DP04_0047P 32.8 4.0
District 19, Wilson County, Tennessee DP04_0047P 32.1 8.4
District 8, Williamson County, Tennessee DP04_0047P 31.5 3.6
District 11, Davidson County, Tennessee DP04_0047P 31.1 4.2
District 9, Robertson County, Tennessee DP04_0047P 31.1 7.0
District 3, Davidson County, Tennessee DP04_0047P 30.8 5.7
District 4, Rutherford County, Tennessee DP04_0047P 30.8 6.6
District 25, Davidson County, Tennessee DP04_0047P 30.7 4.2
District 20, Rutherford County, Tennessee DP04_0047P 30.1 4.5
District 14, Wilson County, Tennessee DP04_0047P 30.0 7.2
District 2, Sumner County, Tennessee DP04_0047P 30.0 4.6
District 3, Wilson County, Tennessee DP04_0047P 29.7 8.0
District 11, Williamson County, Tennessee DP04_0047P 28.6 5.1
District 10, Williamson County, Tennessee DP04_0047P 28.2 4.8
District 2, Robertson County, Tennessee DP04_0047P 27.3 7.5
District 1, Rutherford County, Tennessee DP04_0047P 26.9 6.2
District 33, Davidson County, Tennessee DP04_0047P 26.8 5.1
District 19, Rutherford County, Tennessee DP04_0047P 26.7 5.4
District 14, Rutherford County, Tennessee DP04_0047P 25.5 4.4
District 10, Rutherford County, Tennessee DP04_0047P 23.6 5.4
District 5, Robertson County, Tennessee DP04_0047P 22.8 6.7
District 22, Wilson County, Tennessee DP04_0047P 22.5 7.4
District 6, Sumner County, Tennessee DP04_0047P 22.4 3.7
District 10, Robertson County, Tennessee DP04_0047P 22.2 7.6
District 34, Davidson County, Tennessee DP04_0047P 21.6 4.1
District 3, Rutherford County, Tennessee DP04_0047P 21.4 5.7
District 11, Sumner County, Tennessee DP04_0047P 21.0 4.6
District 3, Williamson County, Tennessee DP04_0047P 20.7 5.3
District 1, Davidson County, Tennessee DP04_0047P 19.9 5.5
District 11, Robertson County, Tennessee DP04_0047P 19.7 6.9
District 6, Cheatham County, Tennessee DP04_0047P 19.7 5.4
District 10, Wilson County, Tennessee DP04_0047P 19.5 8.1
District 1, Sumner County, Tennessee DP04_0047P 19.2 4.1
District 7, Sumner County, Tennessee DP04_0047P 18.9 3.7
District 23, Wilson County, Tennessee DP04_0047P 18.9 8.0
District 7, Robertson County, Tennessee DP04_0047P 18.7 8.8
District 6, Rutherford County, Tennessee DP04_0047P 17.8 4.6
District 4, Cheatham County, Tennessee DP04_0047P 17.4 6.0
District 1, Williamson County, Tennessee DP04_0047P 17.1 3.7
District 3, Sumner County, Tennessee DP04_0047P 17.0 3.6
District 9, Wilson County, Tennessee DP04_0047P 16.7 10.0
District 12, Sumner County, Tennessee DP04_0047P 16.5 3.1
District 8, Robertson County, Tennessee DP04_0047P 15.8 6.0
District 35, Davidson County, Tennessee DP04_0047P 15.8 4.0
District 7, Williamson County, Tennessee DP04_0047P 15.3 3.2
District 8, Wilson County, Tennessee DP04_0047P 13.7 7.1
District 9, Williamson County, Tennessee DP04_0047P 13.7 3.7
District 3, Cheatham County, Tennessee DP04_0047P 13.6 4.6
District 8, Rutherford County, Tennessee DP04_0047P 13.4 4.7
District 2, Cheatham County, Tennessee DP04_0047P 13.4 7.5
District 2, Williamson County, Tennessee DP04_0047P 13.2 4.3
District 4, Robertson County, Tennessee DP04_0047P 12.8 5.4
District 5, Cheatham County, Tennessee DP04_0047P 12.7 5.5
District 15, Wilson County, Tennessee DP04_0047P 12.0 7.0
District 9, Sumner County, Tennessee DP04_0047P 11.7 3.4
District 2, Wilson County, Tennessee DP04_0047P 11.7 7.0
District 3, Robertson County, Tennessee DP04_0047P 11.6 5.7
District 1, Robertson County, Tennessee DP04_0047P 11.1 3.6
District 25, Wilson County, Tennessee DP04_0047P 10.7 5.1
District 1, Wilson County, Tennessee DP04_0047P 10.4 8.2
District 13, Wilson County, Tennessee DP04_0047P 10.3 7.2
District 5, Wilson County, Tennessee DP04_0047P 9.8 3.2
District 12, Wilson County, Tennessee DP04_0047P 9.6 5.9
District 5, Williamson County, Tennessee DP04_0047P 9.2 2.2
District 6, Robertson County, Tennessee DP04_0047P 9.1 5.2
District 6, Wilson County, Tennessee DP04_0047P 7.9 5.1
District 9, Rutherford County, Tennessee DP04_0047P 7.1 2.9
District 4, Wilson County, Tennessee DP04_0047P 7.0 3.8
District 2, Rutherford County, Tennessee DP04_0047P 6.3 2.7
District 18, Wilson County, Tennessee DP04_0047P 6.0 5.3
District 6, Williamson County, Tennessee DP04_0047P 3.5 1.8

Interactive Map of Renter-Occupied Households

The interactive map below illustrates the geographic distribution of renter-occupied households across the Greater Nashville area. Darker shades of blue represent higher percentages of renter-occupied households, while lighter shades represent lower percentages.

Users can zoom in, explore individual county subdivisions, and click on geographic areas to view their estimated percentages and associated margins of error.

mydata$popup <- paste0(
  "<strong>", mydata$Area, "</strong>",
  "<br><br>",
  "Renter-Occupied Households: ",
  round(mydata$Estimate, 2), "%",
  "<br>",
  "Margin of Error: ±",
  round(mydata$Margin_of_Error, 2),
  " percentage points"
)

Map Color Palette

The color palette divides the estimates into five quantile-based categories, allowing geographic differences in rental housing patterns to be visually distinguished.

qs <- unique(
  quantile(
    mydata$Estimate,
    probs = seq(0, 1, length.out = 6),
    na.rm = TRUE
  )
)

pal <- colorBin(
  palette = "Blues",
  domain = mydata$Estimate,
  bins = qs,
  pretty = FALSE
)

Geographic Distribution of Renter-Occupied Households

AreaMap <- leaflet(mydata) |>
  addProviderTiles(
    providers$Esri.WorldTopoMap
  ) |>
  addPolygons(
    fillColor = ~pal(Estimate),
    fillOpacity = 0.5,
    color = "black",
    weight = 1,
    popup = ~popup
  )

if (geography_level != "county") {
  
  AreaMap <- AreaMap |>
    addPolygons(
      data = county_boundaries,
      fill = FALSE,
      color = "black",
      weight = 2,
      opacity = 1,
      group = "County Boundaries",
      options = pathOptions(interactive = FALSE)
    )
  
}

AreaMap <- AreaMap |>
  addLegend(
    pal = pal,
    values = ~Estimate,
    title = "Renter-Occupied Households (%)",
    labFormat = labelFormat(
      suffix = "%",
      digits = 2
    ),
    position = "bottomright"
  )

AreaMap

Source: U.S. Census Bureau, 2024 American Community Survey 5-Year Estimates (2020–2024), Variable DP04_0047P.

Interactive Dot Plot of Renter-Occupied Households

The interactive dot plot provides a ranked comparison of renter-occupied household percentages across the 123 county subdivisions included in this analysis.

Each point represents an individual county subdivision, while the horizontal error bars represent the associated ACS margin of error. Users can hover over individual points to explore specific estimates and their uncertainty.

plotdf <- mydata |>
  st_drop_geometry() |>
  mutate(
    point_color = pal(Estimate),
    
    y_ordered = reorder(
      Area,
      Estimate
    ),
    
    hover_text = paste0(
      Area,
      "<br>Renter-Occupied Households: ",
      round(Estimate, 2), "%",
      "<br>Margin of Error: ±",
      round(Margin_of_Error, 2),
      " percentage points"
    )
  )

DotPlot <- plot_ly(
  data = plotdf,
  x = ~Estimate,
  y = ~as.character(y_ordered),
  type = "scatter",
  mode = "markers",
  showlegend = FALSE,
  height = 1800,
  marker = list(
    color = ~point_color,
    size = 8,
    line = list(
      color = "rgba(120,120,120,0.9)",
      width = 0.5
    )
  ),
  error_x = list(
    type = "data",
    array = ~Margin_of_Error,
    arrayminus = ~Margin_of_Error,
    color = "rgba(0,0,0,0.65)",
    thickness = 1
  ),
  text = ~hover_text,
  hovertemplate = "%{text}<extra></extra>"
) |>
  layout(
    title = list(
      text = paste0(
        "Renter-Occupied Households by County Subdivision",
        "<br><sup>Error bars represent ACS margins of error.</sup>"
      )
    ),
    xaxis = list(
      title = "Renter-Occupied Households (%)",
      tickformat = ".1f",
      ticksuffix = "%",
      automargin = TRUE
    ),
    yaxis = list(
      title = "",
      automargin = TRUE,
      categoryorder = "array",
      categoryarray = levels(plotdf$y_ordered)
    ),
    margin = list(
      l = 200,
      r = 20,
      b = 60,
      t = 80,
      pad = 2
    )
  )

DotPlot

Source: U.S. Census Bureau, 2024 American Community Survey 5-Year Estimates (2020–2024), Variable DP04_0047P.

Conclusion

This analysis demonstrates how American Community Survey data can be used to examine housing characteristics at a more detailed geographic level. By mapping renter-occupied household percentages across 123 county subdivisions in the Greater Nashville area, the analysis provides a more localized perspective on housing occupancy patterns than county-level estimates alone.

The interactive choropleth map and dot plot offer complementary methods for exploring geographic variation, comparing communities, and understanding the uncertainty associated with individual estimates.

Beyond housing characteristics, this analytical approach can be adapted to examine a wide range of demographic, economic, and social variables available through the American Community Survey. These capabilities are particularly valuable for media professionals, marketers, researchers, and organizations seeking to better understand the communities and audiences they serve.

Data Source

U.S. Census Bureau. (2026). 2024 American Community Survey 5-Year Estimates (2020–2024). https://data.census.gov/

  • ACS Variable: DP04_0047P
  • Geographic Level: County subdivision
  • State: Tennessee
  • Counties Analyzed: 7
  • County Subdivisions Analyzed: 123