When abbreviating the state names, for example, abbrev_full() replaces "Virginia" with "VA", including inside "West Virginia." This prevents it from then abbreviating the new "West VA."
library(campfin)
packageVersion("campfin")
#> [1] '0.0.0.9010'
abbrev_full(
x = "West Virginia",
full = state.name,
rep = state.abb
)
#> [1] "West VA"
Created on 2019-09-17 by the reprex package (v0.3.0)