powered by
Replaces state abbreviation with state fips
recode_fips_abb(.data, .abb)
.data with column .abb replaced with state name
data.frame or tibble
column with state abbrevaition
data('stata') stata %>% recode_fips_abb(abb)
Run the code above in your browser using DataLab