fb_import: Import tables to local store

Description Usage Arguments Details Examples

Description

Import tables to local store

Usage

1
2
3
4
5
6
fb_import(
  server = c("fishbase", "sealifebase"),
  version = "latest",
  db = fb_conn(server, version),
  tables = NULL
)

Arguments

server

fishbase or sealifebase

version

release version

db

A cachable duckdb database connection

tables

list of tables to import. Default 'NULL' will import all tables.

Details

Downloads and stores tables from the requested version of fishbase or sealifebase. If the table is already downloaded, it will not be re-downloaded. Imported tables are added to the active duckdb connection. Note that there is no need to call this

Examples

1
conn <- fb_import()

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