Learn R Programming

pxmake (version 0.17.0)

px_save_classification: 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)

Value

Nothing.

Arguments

c

A classification object

path

Directory to save the files in

Examples

Run this code
# 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())

Run the code above in your browser using DataLab