https://github.com/kirahowe/tcstats
Stats wrappers for tablecloth datasets
https://github.com/kirahowe/tcstats
Last synced: 2 months ago
JSON representation
Stats wrappers for tablecloth datasets
- Host: GitHub
- URL: https://github.com/kirahowe/tcstats
- Owner: kirahowe
- License: mit
- Created: 2024-02-09T03:12:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T03:12:41.000Z (over 1 year ago)
- Last Synced: 2025-03-10T12:56:33.272Z (2 months ago)
- Language: Clojure
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tcstats
Warning: This is highly experimental and subject to change. Use at your own risk.
tcstats is a library that provides statistical functions for tablecloth datasets.
All of the current underlying functionality is provided by [fastmath](https://github.com/generateme/fastmath),
such that at the moment this library is essentially just a tablecloth adapter for fastmath.## Usage
Include tcstats as a dependency in your project.
Invoke a library API function from the command-line:
$ clojure -X scicloj.tcstats/foo :a 1 :b '"two"'
{:a 1, :b "two"} "Hello, World!"Run the project's tests (they'll fail until you edit them):
$ clojure -T:build test
Run the project's CI pipeline and build a JAR (this will fail until you edit the tests to pass):
$ clojure -T:build ci
This will produce an updated `pom.xml` file with synchronized dependencies inside the `META-INF`
directory inside `target/classes` and the JAR in `target`. You can update the version (and SCM tag)
information in generated `pom.xml` by updating `build.clj`.Install it locally (requires the `ci` task be run first):
$ clojure -T:build install
Deploy it to Clojars -- needs `CLOJARS_USERNAME` and `CLOJARS_PASSWORD` environment
variables (requires the `ci` task be run first):$ clojure -T:build deploy
Your library will be deployed to net.clojars.scicloj/tcstats on clojars.org by default.
## License
Copyright © 2024 Kira McLean
Distributed under the MIT License.