is_sector: Is the string the sector part of a postcode.

Description Usage Arguments Value FIXME Examples

Description

Is the string the sector part of a postcode.

Usage

1
is_sector(postcode, ignore_case = FALSE)

Arguments

postcode

A character string.

ignore_case

A boolean.

Value

A boolean.

FIXME

SE16 is TRUE (should be FALSE) cause it takes it as SE1 6 without space

Examples

1
2
is_sector("EC2A 0")
is_sector("se16 0", ignore_case = TRUE)

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