Learn R Programming

rfishbase (version 0.2-2)

getData: Description: a general function to loop over all fish ids to get data also drops the missing entries

Description

Description: a general function to loop over all fish ids to get data also drops the missing entries

Usage

getData(fish.ids, silent = TRUE)

Arguments

fish.ids
used by fishbase. An integer between 1:70000, though many missing values in between.
silent
a logical of whether to supress warnings. default is TRUE

Value

  • a list object with the information for those fish, if avaialble.

Details

Typically this function will only be called internally by the caching function.

See Also

getData and updateCache.

Examples

Run this code
fish.data <- getData(1:3)

Run the code above in your browser using DataLab