Preflight validation for descriptive statistics columns based on enabled features.
validate_descriptive_columns(
df,
context = "dataset",
dependent_col,
independent_cols,
aggregation_column = NULL,
population_col = NULL,
timeseries_col = NULL,
plot_corr_matrix = FALSE,
plot_dist = FALSE,
plot_ma = FALSE,
plot_scatter = FALSE,
plot_box = FALSE,
plot_seasonal = FALSE,
plot_regional = FALSE,
plot_total = FALSE,
write_outlier_table = FALSE,
calculate_rate = FALSE,
is_full_dataset = FALSE
)None. Stops execution if required columns/params are missing.
Dataframe. Dataset to validate.
Character. Context label for error messages.
Character. Dependent column.
Character vector. Independent columns.
Character. Region aggregation column.
Character. Population column.
Character. Timeseries column.
Logical. Correlation matrix toggle.
Logical. Distribution plot toggle.
Logical. Moving average toggle.
Logical. Scatter plot toggle.
Logical. Boxplot toggle.
Logical. Seasonal plot toggle.
Logical. Regional plot toggle.
Logical. Total-by-year plot toggle.
Logical. Outlier table toggle.
Logical. Rate plot toggle.
Logical. Whether this dataset is the full combined dataset.