getStateAbbreviation( supplied.name, SGPfunction=NULL, type="ABBREVIATION")
| supplied.name | A character string state/organization abbreviation or long form name. |
|---|---|
| SGPfunction | SGP package function from which |
| type | Either |
Returns a character string.
getStateAbbreviation("IDAHO") ## ID#> [1] "ID"getStateAbbreviation("ID", type="Long") ## Idaho#> [1] "Idaho"