Helper function that can read data from file, from FishSET DB, or a dataframe
in the working environment. Used for data upload functions:
load_maindata
, load_port
, load_aux
, load_grid
,
load_spatial
.
Arguments
- dat
Reference to a dataframe. This can be a filepath, the name of an existing FishSET table, or a dataframe object in the working environment.
- type
The type of data to upload. Options include
"main"
,"port"
,"grid"
,"aux"
, and"spat"
.- ...
Additional arguments passed to
read_dat
.