read_formfim: Format FIM data for the Tampa Bay Nekton Index

View source: R/read_formfim.R

read_formfimR Documentation

Format FIM data for the Tampa Bay Nekton Index

Description

Format FIM data for the Tampa Bay Nekton Index

Usage

read_formfim(datin, locs = FALSE)

Arguments

datin

input data.frame loaded from read_importfim

locs

logical indicating if a spatial features object is returned with locations of each FIM sampling station

Details

Function is used internally within read_importfim

Value

A formatted data.frame with FIM data if locs = FALSE, otherwise a simple features object if locs = TRUE

See Also

read_importfim

Examples

# file path
url <- 'https://raw.githubusercontent.com/tbep-tech/tbni-proc/master/data/'
fl <- 'TampaBay_NektonIndexData.csv'
csv <- url(paste0(url, fl))

datin <- read.csv(csv)

# load and assign to object
fimdata <- read_formfim(datin)

tbep-tech/tbeptools documentation built on April 13, 2025, 4:50 p.m.