get_nua_taxa: Retrieve Taxa Information from Nordic Microalgae

View source: R/nua_api_functions.R

get_nua_taxaR Documentation

Retrieve Taxa Information from Nordic Microalgae

Description

This function retrieves taxonomic information for algae taxa from the Nordic Microalgae API. It fetches details including scientific names, authorities, ranks, and image URLs (in different sizes: large, medium, original, and small).

Usage

get_nua_taxa(unparsed = FALSE)

Arguments

unparsed

Logical. If TRUE, complete API response is returned as an unparsed list. Default is FALSE.

Value

When unparsed = FALSE: a data frame containing the following columns:

slug

A unique identifier for the taxon.

scientific_name

The scientific name of the taxon.

authority

The authority associated with the scientific name.

rank

The taxonomic rank of the taxon.

Examples

## Not run: 
  # Retrieve and display taxa data
  taxa_data <- get_nua_taxa(unparsed = FALSE)
  head(taxa_data)

## End(Not run)



sharksmhi/SHARK4R documentation built on Jan. 9, 2025, 5:15 p.m.