count_taxa: Get counts of unique taxa

View source: R/count_taxa.R

count_taxaR Documentation

Get counts of unique taxa

Description

View unique occurences and counts of taxa to help identify spelling errors.

Usage

count_taxa(x, col = NULL, path = NULL)

Arguments

x

(data frame or character) A data frame or vector of taxa names to be cleaned.

col

(character) A character string specifying the column in x containing taxa names to be cleaned. NOTE: Don't use this argument if x is of character class.

path

(character) A character string specifying the path to taxa_map.csv. This table tracks relationships between your raw and cleaned data and is used by this function.

Value

(data frame) A data frame with taxa and associated counts found in the input, sorted alphabetically by taxa.


EDIorg/taxonomyCleanr documentation built on April 9, 2023, 2:43 a.m.