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

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.