rurality 0.2.0 (2026-04-22)
Adds a specification-curve tool for comparing rurality classification schemes on user-supplied county-level outcomes, plus a companion spec-curve vignette.
New features
-
rurality_spec(): fits OLS models across four schemes (RUCC, RUCA, NCHS, OMB), two functional forms (ordinal / binary metro-nonmetro), and three built-in covariate sets, returning a tidy data frame and (by default) a specification-curve plot.
Data
-
county_crosswalk: new 3,143-county crosswalk harmonising RUCC 2023, RUCA 2020 (modal ZCTA), NCHS 2023, OMB metro/micro/noncore, Census 2020 percent urban, and ACS 2022 5-year demographics. Used as the backbone forrurality_spec().
rurality 0.1.1
CRAN release: 2026-04-15
Data-correctness patch (2026-04-13).
Bug fixes
-
county_rurality: distances to the nearest large/medium/small metro were computed against an incomplete metro list (15 large / 9 medium / 5 small). Counties near any large metro outside the top 15 — Denver, Minneapolis, Portland, Las Vegas, Charlotte, Indianapolis, Cleveland, Cincinnati, Columbus, Kansas City, Austin, San Antonio, Nashville, Jacksonville, Oklahoma City, Memphis, Louisville, and others — were being measured to New York, Chicago, or Los Angeles and classified as “Suburban” rather than “Urban”. Example: Denver County shipped withdist_large_metro = 591, classified Suburban. - Rebuilt with a full metro list shared with the rurality-app web project (52 large / 57 medium / 36 small). After this patch the major urban-core counties (Denver, Hennepin, Multnomah, Mecklenburg, Cuyahoga, Marion-IN, and similar) classify as Urban.
rurality 0.1.0
CRAN release: 2026-04-10
Initial CRAN release (2026-04-10).
Core
-
get_rurality()returns the composite rurality score, classification, and RUCC code for a U.S. county identified by 5-digit FIPS. -
get_rucc()andrurality_score()return their respective scalar values for one-off lookups. -
get_ruca()returns the primary RUCA code for a ZIP code tabulation area. -
classify_rurality()converts a numeric rurality score (0-100) into an ordered classification: Urban, Suburban, Mixed, Rural, Very Rural. -
add_rurality()joins rurality variables onto an existing data frame by FIPS column, with optional selection of the full variable set.
