View source: R/VMS_from_MARFIS.R
VMS_from_MARFIS | R Documentation |
This function takes a dataframe (with coordinate fields in decimal degrees), and extracts asssociated VMS data
VMS_from_MARFIS(
df = NULL,
fn.oracle.username = "_none_",
fn.oracle.password = "_none_",
fn.oracle.dsn = "_none_",
usepkg = "rodbc",
data.dir = NULL,
VR_field = "VR_NUMBER",
LIC_field = "LICENCE_ID",
GC_field = "GEAR_CODE",
LANDED_field = "LANDED_DATE",
look_ahead_days = 7,
lat.field = NULL,
lon.field = NULL,
make_segments = TRUE,
make_segments_spatial = FALSE
)
df |
a dataframe to be analyzed. |
fn.oracle.username |
default is |
fn.oracle.password |
default is |
fn.oracle.dsn |
default is |
usepkg |
default is |
data.dir |
the default is |
VR_field |
the default is |
LIC_field |
the default is |
GC_field |
the default is |
LANDED_field |
the default is |
look_ahead_days |
the default is |
lat.field |
the default is |
lon.field |
the default is |
make_segments |
the default is |
make_segments_spatial |
the default is |
a list containing a data.frame called "marf_VMS" of the joined marfis/VMS data, and,
if make_segments
is TRUE, an sp object called "marf_VMS_segments". Additionally, if
make_segments and make_segments_shp are bothe TRUE, a shapefile will be created in the working
directory.
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.