View source: R/postcode_validation.R
postcode_validation | R Documentation |
Convenience method to validate a postcode.
postcode_validation(postcode)
postcode |
A string. Valid UK postcode. |
A logical vector: True or False (meaning respectively valid or invalid postcode).
postcode_validation("EC1Y 8LX") # returns TRUE
postcode_validation("XYZ") # returns FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.