| Crates.io | tktax-stats |
| lib.rs | tktax-stats |
| version | 0.2.2 |
| created_at | 2025-02-01 03:53:55.932787+00 |
| updated_at | 2025-02-01 03:53:55.932787+00 |
| description | transaction summary stats for the tktax system |
| homepage | |
| repository | https://github.com/klebs6/tktax |
| max_upload_size | |
| id | 1538081 |
| size | 84,118 |
TKTAX-Stats is a Rust library providing a comprehensive toolkit for transaction-based statistical evaluation. It integrates seamlessly with the TKTAX ecosystem:
tktax_3ptktax_moneytktax_transactionIts core functionality revolves around aggregating a slice of Transaction objects to derive a variety of relevant statistics—count, measures of central tendency, outlier detection, skewness (from Greek κυρτός, kurtos, “curved”), kurtosis (also from Greek κυρτός), etc.—all in dimensionless form (Latin dimensionem, “measure”) or monetary form.
TxSummaryStatistics struct for robust summarization:
Interpretation Utilities:
write_summary_statistics_interpretation_notes() clarifies skewness and kurtosis in plain language.use tktax_stats::{
print_categorized_transaction_summary_statistics,
write_summary_statistics_interpretation_notes
};
// Suppose we have a list of transaction references:
let transactions: Vec<&Transaction> = vec![/* references to your Tx objects */];
// Print a categorized statistical overview:
print_categorized_transaction_summary_statistics(&transactions);
// Optionally, write interpretive notes:
write_summary_statistics_interpretation_notes();
Choose a license that suits your needs (e.g., MIT, Apache-2.0, etc.) and specify it here.
Enjoy robust and extensible transaction analytics with TKTAX-Stats!