check_id: Check an identifier variable.

View source: R/check_id.R

check_idR Documentation

Check an identifier variable.

Description

Check the uniqueness and non-missingness of a variable in a GADSdat.

Usage

check_id(GADSdat, idVar = NULL)

Arguments

GADSdat

GADSdat object.

idVar

Name(s) of the identifier variable in the GADSdat object. If NULL, the first variable in the data set is taken as the idVar.

Details

Checks include

  • Is the identifier variable unique (i.e., no duplicates)?

  • Are there any missing values in the identifier variable?

Value

Returns the test report.

Examples

# tbd


beckerbenj/eatFDZ documentation built on June 11, 2025, 6:49 a.m.