extract_uid: Extract UID.

extract_uidR Documentation

Extract UID.

Description

Extracts a DHIS2 11-digit UID from provided string.

Usage

extract_uid(string, bracketed = TRUE)

extract_uid_all(string)

Arguments

string

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

bracketed

Boolean to indicate whether the UID is encased in square brackets.

Value

Character vector of DHIS2 11-digit UIDs found in string.


pepfar-datim/datapackr documentation built on Jan. 14, 2025, 7:11 a.m.