View source: R/UtilityFunctions.R
| getStateAbbreviation | R Documentation | 
This function converts US state name, for example "Alabama", to a two-character state abbreviation "AL". Can take "District of Columbia".
getStateAbbreviation(state)
state | 
 A string character specifying the full name of a US state.  | 
two-character abbreviation of a US state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.