recode_abb_name {censable} | R Documentation |
Replaces state name with state abbreviation
recode_abb_name(.data, .name)
.data |
data.frame or tibble |
.name |
column with state name |
.data with column .name replaced with abbreviation
data('stata')
stata %>% recode_abb_name(name)