Learn R Programming

censable (version 0.0.5)

recode_abb_ansi: Recode Abb by ANSI

Description

Replaces state ansi with state abbreviation

Usage

recode_abb_ansi(.data, .ansi)

Value

.data with column .ansi replaced with state abbreviation

Arguments

.data

data.frame or tibble

.ansi

column with state ansi

Examples

Run this code
data('stata')
stata %>% recode_abb_ansi(ansi)

Run the code above in your browser using DataLab