View source: R/make_segments_isdb.r
make_segments_isdb | R Documentation |
This function takes a df of the isdb data, and creates line segments for each distinct FISHSET_ID. If specified, it will generate spatial layers within a gpkg file. Each line will have the following columns in the resulting data frame:
FISHSET_ID
This uniquely identifies a set
LEN_KM
This field shows the calculated distance of the
resultant line in kms
SET_NO
This uniquely identifies a set
N_VALID_VERT
This field shows how many vertices appear
correct after NAs, 0s and other problematic values have been dropped
SETSTART
This is the earliest time associated with a set
SETEND
This is the last time associated with a set
SET_DUR
This is the difference in time (in hours) between the first and last
position of a set
make_segments_isdb(isdb.df, filename = NULL, create.spatial = TRUE)
isdb.df |
This is the dataframe you want to plot. isdb dataframes are characterized by the existence of one of the following sets of fields: ISSETPROFILE_WIDE - based:
or ISSETPROFILE - based
|
filename |
default is |
create.spatial |
default is |
Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.