clean_ISDB_Trip: clean_ISDB_Trip

View source: R/utils.R

clean_ISDB_TripR Documentation

clean_ISDB_Trip

Description

This function cleans ISDB trip names of spaces/odd characters to improve the potential for matching.

Usage

clean_ISDB_Trip(df = NULL, field = "ISDB_TRIP", out_name = "ISDB_TRIP_CLN")

Arguments

df

default is NULL. This is a dataframe that includes a column of raw ISDB trip names

field

default is "ISDB_TRIP". This is the name of the field that contains the raw ISDB trip names

out_name

default is 'ISDB_TRIP_CLN'. The is the name of the new field that will be created i df after cleaning

Value

returns a list with 2 dataframes - "trips", and "sets". "trips" contains all of the information necessary for identifying a trip within MARFIS, as well as associated information about the trip from the HAIL_OUTS and HAIL_IN_CALLS tables (e.g. confirmation numbers). "sets" contains information about individual fishing activities, including locations, dates, durations, gear amount, etc..

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca

See Also

Other utils: go(), isDraft(), paramOK(), valuesOK()


Maritimes/Mar.bycatch documentation built on Feb. 6, 2024, 3:27 p.m.