check_identifier: Checks that an appropriate identifier has been provided

View source: R/data-utils.R

check_identifierR Documentation

Checks that an appropriate identifier has been provided

Description

This helper function makes a few simple checks to identify obvious issues with the way provided column of unit identifiers.

Usage

check_identifier(data, id_col)

Arguments

data

Dataframe of interest.

id_col

Quoted name of identifier column.

Value

Returns NULL. Errors if a problem is discovered.


tidyhte documentation built on Aug. 14, 2023, 5:08 p.m.