get_spp: Get the Species and Survey Name

View source: R/get_spp.R

get_sppR Documentation

Get the Species and Survey Name

Description

Separate a single character string into three words to determine the survey and scientific name for the species of interest.

Usage

get_spp(input, split = "_")

Arguments

input

A character value that contains the survey of interest and the scientific name of the species. The three words will be split using the split argument.

split

A character value specifying how to break up the input argument. The default is to use "_".

Value

A vector with two entries, survey specifies the survey name and species provides a normalized scientific name.

Author(s)

Kelli F. Johnson

Examples

get_spp(input = "Triennial_Anoplopoma_fimbria")


nwfsc-assess/VAST_WestCoast documentation built on July 4, 2023, 5:45 p.m.