fb_tbl | R Documentation |
Please note that rfishbase accesses static snapshots of the raw database tables used by FishBase and Sealifebase websites. Because these are static snapshots, they may lag behind the latest available information on the web interface, but should provide stable results.
fb_tbl(
tbl,
server = c("fishbase", "sealifebase"),
version = "latest",
db = NULL,
collect = TRUE
)
tbl |
table name, as it appears in the database. See |
server |
Access data from fishbase or sealifebase? |
version |
Version, see |
db |
database connection, deprecated |
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. |
Please also note that the website pages are not organized precisely along the lines of these tables. A given page for a species may draw on data from multiple tables, and sometimes presents the data in a processed or summarized form. Following RDB design, it is often necessary to join multiple tables. Other data cleaning steps are sometimes necessary as well.
fb_tbl("species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.