Skip to contents

Gets species names from column names. This function is just an utility to easily retrieve taxon names.

Usage

get_species_names(data)

Arguments

data

a data.frame. One obtained by read_*_data() functions.

Value

A data.frame.

Examples

if (FALSE) { # \dontrun{
# Folder in which the database is stored ----
path_to_db <- "data"

# Download and read the plankton nets data ----
plankton_nets_data <- read_plankton_nets_data(path_to_db)

# Select a taxonomy ----
plankton_nets_data <- select_taxonomy(plankton_nets_data, taxonomy = "OT")

# Retrieve taxon names ----
get_species_names(nets)
} # }