American Road Density
1 Introduction
I have been wondering about how infrastructure reaches people. More specifically, I have been wondering about how it reaches people in different places. It is no shock to say that urban spaces are more developed in this sense than rural ones, the former simply have more stuff, but what if we could visualize that divide on a broader scale? Could we find a suitable stand-in for “infrastructure” in general, and then reference it in terms of the size of an area or the number of people it serves? Would we see a distinction between those measures? That is the theme that incited this short project, and I think there is a relatively easy stand-in found in the United States.
The United States is a car country; I doubt this statement needs much explanation or defense. As a car country, its infrastructure is defined by roads, so they should be as suitable a stand-in as any. The core idea for this project is thus to take data on American roads and counties, and use the lengths of roads as a stand-ins for infrastructure. We will then compare this measure across different aspects of county-level data (the area and population of each county) to asses/map how much different parts of the country are serviced (how much infrastructure they have). For our data, we use the tigris and usmap packages for road and county data respectively.
Presumably, we may expect that the proportion of roads to county area is higher among smaller counties, and we know that county sizes tend to be larger towards the Western half of this country (the United States), so we should see higher proportions in the East. Conversely, we know that the population of this country is largely concentrated in the East, so we may anticipate a higher proportion in the West, given that some areas there are extremely sparsely populated. Let’s see what we get.
2 Data and Code
Using total road lengths as a stand-in for American infrastructure, we aim to collect data on the road lengths of all roads across all counties in the United States. To get this data, we use the tigris roads() function, and supply FIPS county codes from usmap. We do this iteratively, since roads() works for only one FIPS code at a given time, and calculate the lengths of each road returned. We take our results and construct a new dataframe containing the respective FIPS code, LINEARID (a unique ID for a road in a given county), MTFCC (“MAF/TIGER Feature Class Code,” the class of road), and road lengths for each. We then take this new data and generate some statistics by referencing road lengths against the total areas and populations of each county. We use the most recent years available for this data from each source: 2024 for the roads and county geometries, and 2022 for the populations1.
Our code above gives us a dataset that includes all MTFCC codes across each county, which means that we can filter down to specific classes of roads by county. Many of these classes aren’t for the roads we are thinking of, so we will focus on and filter for the following: S1100, S1200, and S1400, which reflect primary, secondary, and local roads as outlined in Table 1 below.
3 Results
Having filtered down the road classes that we are concerned with, we create the following plots:
As we can see in the charts above, the proportions are in line with what we anticipated at the outset; the proportion of road length relative to county area is observably higher in the East than in the West, whereas the proportion of road length relative to county population is higher in parts of the West. Each chart shows relative ratios, and the scales are naturally different between them. What matters for our case is the visible magnitude, and we can see very clearly where the hot spots are in each map. The fact that Figure 1 (b) in particular is largely so blank tells us just how lopsided the relative ratio of roads to population is in the Western United States when compared to the East. From our charts, fewer people are served by relatively more “infrastructure” in parts of the West, whereas there is overall more infrastructure spanning smaller areas in the East. The data for this project is available here.
Footnotes
The distinction between 2022 and 2024 should not be especially large, but it is worth noting that the years are different.↩︎

