Learn R Programming

zipangu (version 0.3.2)

is_zipcode: Test zip-code

Description

lifecycle::badge("experimental")

Usage

is_zipcode(x)

Value

A logical vector.

Arguments

x

Zip-code. Number or character. Hyphens may be included, but the input must contain a 7-character number.

Examples

Run this code
is_zipcode(7000027)
is_zipcode("700-0027")

Run the code above in your browser using DataLab