is_uidish: Is UID-ish

is_uidishR Documentation

Is UID-ish

Description

Tests whether a character string matches the regex of a DHIS2 11-digit UID.

Usage

is_uidish(string, ish = FALSE)

Arguments

string

Input vector. Either a character vector, or something coercible to one.

ish

Logical. If TRUE, looks for the UID in all parts of string, rather than requiring the string be only the UID.

Value

A logical vector.


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.