guess_hdType: hdType

View source: R/guess_hdType.R

guess_hdTypeR Documentation

hdType

Description

evaluates which of the available_hdTypes is the object

Usage

guess_hdType(v)

Arguments

v

a value for which you want to evaluate

Value

An available_hdType value

Examples


# Num hdType
value <- c("1",NA,"2")
guess_hdType(value)

# Cat hdType
value <- c("MSPS-CD-166-2020", "003-2020", "0811 - 2020")
guess_hdType(value)

# Pct hdType
value <- c(0.3, 0.4, 1)
guess_hdType(value)



jpmarindiaz/homodatum documentation built on May 1, 2023, 7:24 p.m.