vc_cipcode: Validates If Valid CIP Code

View source: R/vc_cipcode.R

vc_cipcodeR Documentation

Validates If Valid CIP Code

Description

Validates If Valid CIP Code

Usage

vc_cipcode(data, x, ...)

Arguments

data

A data frame.

x

Column name from data (character string).

...

ignored.

Value

Returns a vc classed list object.

Examples

dat <- data.frame(
    cips = c('9.99.99', '22', '22.', '22.34', '22.234', '22.2344', '22.2345', NA),
    stringsAsFactors = FALSE
)
vc_cipcode(dat, 'cips')

steventsimpson/valiData documentation built on Jan. 27, 2023, 2:11 p.m.