detect_id_cols: Detect ID columns using regex

View source: R/utils.R

detect_id_colsR Documentation

Detect ID columns using regex

Description

Searches a vector of column names for common ID-related patterns.

Usage

detect_id_cols(cols)

Arguments

cols

A character vector of column names.

Value

A character vector of names that matched the ID pattern.

Examples

detect_id_cols(c("Ad", "Soyad", "ogrenci no", "Madde1", "StudentID"))

examly documentation built on Nov. 19, 2026, 5:11 p.m.