Skip to contents

Converts fish length data using the length conversion table. Returns an arrow dataset. This function is only needed to convert Suisun survey data.

Usage

convert_lengths(data)

Arguments

data

An arrow dataset of fish data. See open_fish()

Value

data_conv An arrow dataset with converted lengths

Examples

if (FALSE) {
library(dplyr)

fish <- open_fish() %>% 
    filter(Taxa %in% c("Dorosoma petenense", "Morone saxatilis", "Spirinchus thaleichthys"))

fish_conv <- convert_lengths(fish) %>% 
    collect()
}