fb_tbl {rfishbase}R Documentation

Access a fishbase or sealifebase table

Description

Access a fishbase or sealifebase table

Usage

fb_tbl(
  tbl,
  server = c("fishbase", "sealifebase"),
  version = "latest",
  db = fb_conn(server, version),
  collect = TRUE
)

Arguments

tbl

table name, as it appears in the database. See [fb_tables()] for a list.

server

fishbase or sealifebase

version

release version

db

A cachable duckdb database connection

collect

should we return an in-memory table? Generally best to leave as TRUE unless RAM is too limited. A remote table can be used with most dplyr functions (filter, select, joins, etc) to further refine.

Examples


fb_tbl("species")


[Package rfishbase version 4.1.2 Index]