postcode_validation {PostcodesioR}R Documentation

Postcode validation

Description

Convenience method to validate a postcode.

Usage

postcode_validation(postcode)

Arguments

postcode

A string. Valid UK postcode.

Value

A logical vector: True or False (meaning respectively valid or invalid postcode).

Examples


postcode_validation("EC1Y 8LX") # returns TRUE
postcode_validation("XYZ") # returns FALSE



[Package PostcodesioR version 0.3.1 Index]