Check all arguments to px_classification
validate_px_classification_arguments(
name,
prestext,
domain,
df,
vs_path,
agg_paths
)
Nothing
Optional. Name of the classification.
Optional. Presentation text.
Optional. Character vector with domain names. Used to link to PX-file.
Optional. A data frame with required column 'valuecode' and optional column 'valuetext', if the codes have texts. Each additional column represents an aggregation. The column name is the name of the aggregation. If the column type is character the aggregation levels will be sorted alphabetically; use factors to control the ordering.
Optional. Path to a values set (.vs) file.
Optional.
If NULL, aggregation paths are automatically taken from the [Aggreg] field in the .vs file.
Use a vector of paths to one or more aggregation files (.agg) to manually choose aggregations.
Use character(0) if aggregations from the .vs files should not be added automatically.