Skip to contents

Downloads the same table from both the FishBase and SeaLifeBase servers and row-binds the results, adding a server column to identify the source.

Usage

get_combined_tbl(tbl_name, version = "latest")

Arguments

tbl_name

A character string naming the rfishbase table to retrieve (e.g. "species", "families", "ecology", "estimate", "faoareas").

version

The FishBase / SeaLifeBase data release to read, e.g. "25.04". Defaults to "latest", which follows whatever release the installed rfishbase points at and therefore changes underneath a pipeline without warning. See resolve_db_version().

Value

A tibble combining rows from both servers with an additional server column ("fishbase" or "sealifebase").