ArcgisGeocode v0.1.0 ArcgisGeocode.UsStates

Provides the ability to look up a US State name by its abbreviation and vice-versa.

Summary

Functions

Gets the US State abbreviation of the given US State name

Gets the US State name of the given US State abbreviation

Functions

get_abbr(name)

Specs

get_abbr(String.t) :: String.t

Gets the US State abbreviation of the given US State name.

Example

iex>ArcgisGeocode.UsStates.get_abbr("Vermont")
"VT"
get_name(abbr)

Specs

get_name(String.t) :: String.t

Gets the US State name of the given US State abbreviation.

Example

iex>ArcgisGeocode.UsStates.get_name("VT")
"Vermont"