getStateAbbreviation: This function converts US state name, for example "Alabama",...

View source: R/UtilityFunctions.R

getStateAbbreviationR Documentation

This function converts US state name, for example "Alabama", to a two-character state abbreviation "AL". Can take "District of Columbia".

Description

This function converts US state name, for example "Alabama", to a two-character state abbreviation "AL". Can take "District of Columbia".

Usage

getStateAbbreviation(state)

Arguments

state

A string character specifying the full name of a US state.

Value

two-character abbreviation of a US state.


USEPA/stateio documentation built on Feb. 12, 2024, 6:41 a.m.