validate_surveys_time: Validate surveys' temporal parameters

View source: R/validation-functions.R

validate_surveys_timeR Documentation

Validate surveys' temporal parameters

Description

This function takes a preprocessed landings' matrix and validate temporal info associated to each survey.

Usage

validate_surveys_time(data, hrs = NULL, submission_delay)

Arguments

data

A preprocessed data frame

hrs

Limit of trip duration in hours to be considered a valid catch session.

submission_delay

Limit for maximum difference (in days) between the survey submission date and the recorded landing datw

Value

A list containing data frames with validated catch dates and catch duration.

Examples

## Not run: 
pars <- read_config()
landings <- get_merged_landings(pars)
validate_surveys_time(landings, hrs = 18)

## End(Not run)

WorldFishCenter/peskas.timor.data.pipeline documentation built on April 14, 2025, 1:47 p.m.