Skip to contents

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"

Value

A pointblank agent, class ptblank_agent, yet to be interrogated

Functions

  • validate_predictions_df_blue_tit(): Validate Blue tit predictions data

  • validate_predictions_df_euc(): Validate Eucalyptus predictions data

  • validate_predictions(): Wrapper-function for validate_predictions_df_euc() and validate_predictions_df_blue_tit()