Skip to contents

Creates a summary string of biota including species, tissues, and life stages

Usage

summarise_biota(
  biotaData,
  SPECIES_GROUP = FALSE,
  SAMPLE_SPECIES = FALSE,
  SAMPLE_TISSUE = FALSE,
  SAMPLE_SPECIES_LIFESTAGE = FALSE,
  SAMPLE_SPECIES_GENDER = FALSE
)

Arguments

biotaData

The biota dataset. Use eDataDRF::example_biota_tibble() to generate an example input.

SPECIES_GROUP

Logical. Include species group summary? See eDataDRF::species_groups_vocabulary() for valid groups.

SAMPLE_SPECIES

Logical. Include sample species summary? See eDataDRF::species_names_vocabulary() for valid species.

SAMPLE_TISSUE

Logical. Include tissue type summary? See eDataDRF::tissue_types_vocabulary() for valid tissue types.

SAMPLE_SPECIES_LIFESTAGE

Logical. Include life stage summary? See eDataDRF::lifestage_vocabulary() for valid life stages.

SAMPLE_SPECIES_GENDER

Logical. Include gender summary? See eDataDRF::gender_vocabulary() for valid gender values.

Value

Character string summarising biota, or "Relevant data not found"

Examples

summarise_biota(eDataDRF::example_biota_tibble(), SAMPLE_SPECIES = TRUE, SAMPLE_TISSUE = TRUE)
#> [1] "1 biota samples. Species: Gadus morhua. Tissue types: Liver"