Learn R Programming

rfishbase (version 5.0.0)

references: references

Description

references

Usage

references(
  codes = NULL,
  fields = NULL,
  server = getOption("FISHBASE_API", "fishbase"),
  version = get_latest_release(),
  db = default_db(),
  ...
)

Value

a tibble (data.frame) of reference data

Arguments

codes

One or more Fishbase reference numbers, matching the RefNo field

fields

subset to these columns. (recommend to omit this and handle manually)

server

Either "fishbase" or "sealifebase".

version

a version string for the database. See available_releases() for details.

db

database connection, now deprecated.

...

additional arguments, currently ignored

Examples

Run this code
if (FALSE) { # interactive()
if (FALSE) {
references(codes = 1)
references(codes = 1:6)
references(codes = 1:6, fields = c('Author', 'Year', 'Title'))
references() # all references
}
}

Run the code above in your browser using DataLab