abrev.pttn: Internal function of naturaList - Return abbreviation...

View source: R/internal_functions.R

abrev.pttnR Documentation

Internal function of naturaList - Return abbreviation collapsed

Description

Return collapsed abbreviation for a specific line of specialist data frame. It is used as pattern in grep function inside classify_occ

Usage

abrev.pttn(df, line)

Arguments

df

spec data frame provided in classify_occ

line

specifies the line of the data frame to be collapsed

Value

a list with two elements in regex format:

[[1]]

the abbreviation of the first name;

[[2]]

regex pattern with all names and abbreviations.

See Also

classify_occ


naturaList documentation built on April 20, 2022, 5:11 p.m.