Skip to contents

This function performs several checks on the input data to ensure it meets the expected requirements for analysis. It checks column names, data types, and performs additional validations.

Usage

data_check(data)

Arguments

data

A data frame containing the input data.

Value

No explicit return value. The function stops with an error if any check fails.

Examples

if (FALSE) { # \dontrun{
# Assuming covid_data is your data frame
data_check(covid_data)
} # }