Validates the structure of the analyst-submitted predictions, ensuring that the required columns are present and in the correct format.
Usage
validate_predictions_df_blue_tit(input, type = "filepath")
validate_predictions_df_euc(input, type = "filepath")
validate_predictions(data_set, input, type = "filepath")
Arguments
- input
Either a filepath or a dataframe, corresponding to the
type
argument specification- type
character string of length 1, equal to either "filepath" or "df". Defaults to "filepath"
- data_set
the dataset being analysed, either "blue tit" or "eucalyptus"
Functions
validate_predictions_df_blue_tit()
: Validate Blue tit predictions datavalidate_predictions_df_euc()
: Validate Eucalyptus predictions datavalidate_predictions()
: Wrapper-function forvalidate_predictions_df_euc()
andvalidate_predictions_df_blue_tit()