make_state_abb: Returns abbreviations of state name input.

View source: R/cleaning_utils.R

make_state_abbR Documentation

Returns abbreviations of state name input.

Description

Returns abbreviations of state name input.

Usage

make_state_abb(state)

Arguments

state

A vector of strings with the names of US states.

Value

A vector of strings with the abbreviations of the inputted state names.

Examples

make_state_abb("california")

crimeutils documentation built on Dec. 7, 2022, 5:15 p.m.