normalise_state_names | R Documentation |
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.
normalise_state_names(names)
names |
Character vector of state names. |
Vector of the same size as the input, but with the normalised state names.
normalise_state_names(c("nsw", "VIC", "overseas", "Queensland"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.