cull: Cull Bad Species Characters

Description Usage Arguments Details Value Functions See Also

View source: R/formatValue.R

Description

Remove/ fix characters that are unlikely to be part of a species name

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

x

A character vector

Details

cull performs the following corrections, in this order: 1. remove extra spaces 2. change to sentence case 3. remove generic species indicators (spp or Sp., e.g.) 4. Remove everything in parentheses 5. Remove words after the first 2

Value

a character vector that has been altered by removing content unlikely to belong to a species name.

Functions

See Also

clean.tax clean.trimRow


rBatt/trawlData documentation built on July 19, 2018, 1:26 a.m.