View source: R/convert_lengths.R
convert_lengths | R Documentation |
Converts fish length data using the length conversion table. Returns an arrow dataset. This function is only needed to convert Suisun survey data.
convert_lengths(data)
data |
A DBI table that can be treated like a data.frame, with fish data. See |
data_conv A DBI table with converted lengths
## Not run:
library(dplyr)
con <- open_database()
fish <- open_fish(con) %>%
filter(Taxa %in% c("Dorosoma petenense", "Morone saxatilis", "Spirinchus thaleichthys"))
fish_conv <- convert_lengths(fish) %>%
collect()
close_database(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.