Format FIM data for the Tampa Bay Nekton Index
Arguments
- datin
input
data.frame
loaded fromread_importfim
- locs
logical indicating if a spatial features object is returned with locations of each FIM sampling station
Value
A formatted data.frame
with FIM data if locs = FALSE
, otherwise a simple features object if locs = TRUE
Details
Function is used internally within read_importfim
Examples
if (FALSE) {
# file path
csv <- '~/Desktop/fimraw.csv'
# load and assign to object
fimdata <- read_importfim(csv)
}