Skip to contents

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

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

See also

Examples

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

datin <- read.csv(csv)

# load and assign to object
fimdata <- read_formfim(datin)
#> Warning: attribute variables are assumed to be spatially constant throughout all geometries