c_code {rfishbase}R Documentation

c_code

Description

return a table of country information for the requested c_code, as reported in FishBASE.org

Usage

c_code(
  c_code = NULL,
  server = getOption("FISHBASE_API", "fishbase"),
  version = get_latest_release(),
  db = default_db(),
  ...
)

Arguments

c_code

a C_Code or list of C_Codes (FishBase country code)

server

can be set to either "fishbase" or "sealifebase" to switch between databases. NOTE: it is usually easier to leave this as NULL and set the source instead using the environmental variable 'FISHBASE_API', e.g. 'Sys.setenv(FISHBASE_API="sealifebase")'.

version

a version string for the database, will default to the latest release. see [get_releases()] for details.

db

the

...

unused; for backwards compatibility only

Details

e.g. http://www.fishbase.us/Country

Examples


## Not run: 
c_code(440)

## End(Not run)


[Package rfishbase version 4.1.2 Index]