| normalise_state_names {nswgeo} | R Documentation |
Normalise state names from abbreviations
Description
Expand abbreviations like "NSW" to "New South Wales", and
normalise to title capitalisation. Entries that don't match any state name or
abbreviation are left untouched.
Usage
normalise_state_names(names)
Arguments
names |
Character vector of state names. |
Value
Vector of the same size as the input, but with the normalised state names.
Examples
normalise_state_names(c("nsw", "VIC", "overseas", "Queensland"))
[Package nswgeo version 0.4.0 Index]