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")

jacobkap/crimeutils documentation built on Jan. 1, 2023, 12:20 a.m.