which_name_column: Which name column

Description Usage Arguments Value Examples

View source: R/genero.R

Description

Which name column

Usage

1
which_name_column(colnames, colname_variations = NULL, show_guess = FALSE)

Arguments

colnames

A vector of data.frame names.

colname_variations

A vector of custom names to append to the vector of frequent colnames for first names.

show_guess

Show message with the guessed column.

Value

A single colname with the match of common first name columns.

Examples

1
which_name_column(c("Name", "Age", "City"))

datasketch/genero documentation built on June 1, 2020, 3:34 a.m.