is_postcode_partial: Is the string a partial postcode.

Description Usage Arguments Value Examples

Description

A postcode is partial if:

  1. it is not complete

  2. it is the area + district (outward) part of the postcode

  3. OR it is the sector + unit (inward) part of the postcode

Usage

1
is_postcode_partial(postcode, ignore_case = FALSE)

Arguments

postcode

A character string.

ignore_case

A boolean.

Value

A boolean.

Examples

1
2
is_postcode_partial("EC2A 3JX")
is_postcode_partial("ec2a", ignore_case = TRUE)

xavier-gilbert/sabre documentation built on May 7, 2021, 12:40 p.m.