bird_names_from_text: bird names from text

View source: R/bird_names_from_text.R

bird_names_from_textR Documentation

bird names from text

Description

Extract bird species names from text.

Usage

bird_names_from_text(x)

Arguments

x

one or more character strings, e.g. a database notes field. Will recognize alpha codes and common names.

Value

A character vector of same length as x. If multiple bird species names exist in each element of x, they will be separated by an underscore in the output vector.

Examples

test_text <- c("Bald Eagle and White-tailed Kite and WREN are birds.",
"The Great Blue Heron is taller than the Snowy Egret")

bird_names_from_text(test_text)

scottfjennings/birdnames documentation built on July 2, 2023, 6:07 a.m.