View source: R/preprocess-and-validate-data.R
validate_cbass_dataset | R Documentation |
This function validates a dataset to ensure it contains all the mandatory columns required for further processing. If any mandatory columns are missing, it raises an error with the list of missing columns.
validate_cbass_dataset(dataset)
dataset |
A data frame representing the CBASS dataset to be processed and validated. |
A processed and validated CBASS dataset with appropriate data types for its columns.
dataset_has_mandatory_columns
, convert_columns
, check_enough_unique_temperatures_values
# Assuming a dataset named 'cbass_dataset' is available in the environment
data(cbass_dataset)
preprocessed_data <- preprocess_dataset(cbass_dataset)
validate_cbass_dataset(preprocessed_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.