recode_abb_name: Recode Abb by Name

View source: R/recode.R

recode_abb_nameR Documentation

Recode Abb by Name

Description

Replaces state name with state abbreviation

Usage

recode_abb_name(.data, .name)

Arguments

.data

data.frame or tibble

.name

column with state name

Value

.data with column .name replaced with abbreviation

Examples

data('stata')
stata %>% recode_abb_name(name)

censable documentation built on Nov. 20, 2022, 1:06 a.m.