missName: Homogenize Notation For Missing Name

View source: R/missName.R

missNameR Documentation

Homogenize Notation For Missing Name

Description

Standardize the different notation of missing collector or identifier names associated with biological records.

Usage

missName(x, type = NULL, noName = "Anonymous")

Arguments

x

the character string or vector with names.

type

type of name: 'collector' or 'determiner'.

noName

standard notation for missing names. Default to "Anonymous".

Value

the character string x in the standard notation for missing names.

Author(s)

Renato A. F. de Lima

References

Conn, Barry J. (ed.) (1996). HISPID 3 - Herbarium Information Standards and Protocols for Interchange of Data. Herbarium Information Systems Committee' (HISCOM). https://www.tdwg.org/standards/hispid3/

Examples

# Needs to chose between 'collector' or 'identificator'
 missName(c("Gentry, AH", "s/col.", NA, "?", "s/c", "s/coletor"),
           type = "collector",
           noName = "s./c.")

 missName(c("Gentry, AH", "s/col.", NA, "?", "s/c", "s/coletor"),
         type = "collector")

 missName(c("Gentry, AH", "s/det.", "s/det", "s/d", "Determiner unknown"),
          type = "determiner")


LimaRAF/plantR documentation built on Jan. 1, 2023, 10:18 a.m.