px_save_classification: Save classification as .vs and .agg files

View source: R/classification.R

px_save_classificationR Documentation

Save classification as .vs and .agg files

Description

Save a classification object as .vs and .agg files. The .vs file contains the value set and the .agg files contain the aggregations.

Usage

px_save_classification(c, path)

Arguments

c

A classification object

path

Directory to save the files in

Value

Nothing.

Examples

# Save classification as .vs as .agg files
c <- px_classification(
  name = "Age5",
  prestext = "Ages 0-9 - 60+",
  domain = "age",
  df = age_classification
)

px_save_classification(c, path = tempdir())

pxmake documentation built on April 18, 2026, 5:08 p.m.