Generic Parameter Validation for Dataset Functions
Source:R/helpers-dataset.R
validate_dataset_params.RdValidates common parameters used across all dataset functions. This consolidates repetitive validation logic into a single reusable function.
Arguments
- table
Character. The table parameter to validate.
- valid_tables
Character vector. Valid table names for the dataset.
- cached
Logical. Whether to use cached data.
- quiet
Logical. Whether to suppress messages.
- max_retries
Numeric. Maximum number of retry attempts.
- allow_all
Logical. Whether "all" is a valid table value. Default TRUE.