NAME

Catmandu::Exporter::Stat - a statistical export

SYNOPSIS

# Calculate statistics on the availabity of the ISBN fields in the dataset
cat data.json | catmandu JSON to Stat --keys isbn

# Calculate statistics on the uniqueness of ISBN numbers in the dataset
cat data.json | catmandu JSON to Stat --keys isbn --values 1

# Export the statistics as YAML
cat data.json | catmandu JSON to Stat --keys isbn --values 1 --as YAML

SEE ALSO

Catmandu::Exporter