R/logbook_sample_without_measure_control.R
    logbook_sample_without_measure_control.RdThe purpose of the logbook_sample_without_measure_control function is to provide a table of data that contains an inconsistency between the sample and the presence of measurement
logbook_sample_without_measure_control(dataframe1, dataframe2, output)data.frame expected. Csv or output of the function data_extraction, which must be done before using the logbook_sample_without_measure_control() function.
data.frame expected. Csv or output of the function data_extraction, which must be done before using the logbook_sample_without_measure_control() function.
character expected. Kind of expected output. You can choose between "message", "report" or "logical".
The function returns a character with output is "message", a data.frame with output is "report", a logical with output is "logical"
The input dataframe must contain all these columns for the function to work :
  samplespecies_id
  samplespeciesmeasure_id
  samplespecies_id
#Sample species 1 is ok,
#Sample species 2 has no sample species measure
dataframe1 <- data.frame(samplespecies_id = c("1", "2"))
dataframe2 <- data.frame(samplespeciesmeasure_id = c("1", "2"),
                         samplespecies_id = c("1", "1"))
logbook_sample_without_measure_control(dataframe1, dataframe2, output = "report")
#>   samplespecies_id logical
#> 1                1    TRUE
#> 2                2   FALSE