which_geoname_column: Which geoname column

View source: R/geonames.R

which_geoname_columnR Documentation

Which geoname column

Description

Which geoname column

Usage

which_geoname_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 geo names.

show_guess

Show message with the guessed column.

Value

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

Examples

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


datasketch/geodata documentation built on Nov. 27, 2022, 12:48 p.m.