fb_import {rfishbase} | R 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()
[Package rfishbase version 4.1.2 Index]