fb_tbl: Access a fishbase or sealifebase table

Description Usage Arguments Examples

View source: R/fb_tbl.R

Description

Access a fishbase or sealifebase table

Usage

1
2
3
4
5
6
7
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

1
fb_tbl("species")

rfishbase documentation built on Dec. 14, 2021, 5:07 p.m.