fb_import: Import tables to local store

View source: R/fb_import.R

fb_importR Documentation

Import tables to local store

Description

Import tables to local store

Usage

fb_import(
  server = c("fishbase", "sealifebase"),
  version = get_latest_release(),
  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


conn <- fb_import()


rfishbase documentation built on June 7, 2023, 6:14 p.m.