Description Usage Arguments Value Examples
View source: R/pretty_postcode.R
Turn a string into the 'prettty' format of postcode 'XX(X)(X)YXXX' where Y is a specified seperator with a spacer as default in either upper or lower case
1 | pretty_postcode(Postcode, sep = " ", uppercase = TRUE)
|
Postcode |
string |
sep |
string |
uppercase |
logical |
A string
1 2 3 4 | pretty_postcode("SW1a2nP")
pretty_postcode("SW1a2nP", sep="")
pretty_postcode("SW1a2nP", sep=".")
pretty_postcode("SW1a2nP", sep=".", uppercase=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.