Learn R Programming

taxonbridge (version 1.0.5)

get_taxa: A helper function to filter columns on GBIF taxa names

Description

A helper function to filter columns on GBIF taxa names

Usage

get_taxa(
  x,
  kingdom = NA,
  phylum = NA,
  class = NA,
  order = NA,
  family = NA,
  genus = NA,
  species = NA
)

Arguments

x

A tibble created with load_taxonomies() or load_population() or load_sample().

kingdom

A string consisting of a scientific name.

phylum

A string consisting of a scientific name.

class

A string consisting of a scientific name.

order

A string consisting of a scientific name.

family

A string consisting of a scientific name.

genus

A string consisting of a scientific name.

species

A string consisting of a scientific name.

Value

A filtered tibble.

Examples

Run this code
# NOT RUN {
get_taxa(load_sample(), species = "hyalina")
# }

Run the code above in your browser using DataLab