View source: R/validation-functions.R
validate_surveys_time | R Documentation |
This function takes a preprocessed landings' matrix and validate temporal info associated to each survey.
validate_surveys_time(data, hrs = NULL, submission_delay)
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 |
A list containing data frames with validated catch dates and catch duration.
## Not run:
pars <- read_config()
landings <- get_merged_landings(pars)
validate_surveys_time(landings, hrs = 18)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.