scicloj / tcutils

Utility functions for working with tablecloth datasets
https://scicloj.github.io/tcutils/
MIT License
5 stars 1 forks source link
clojure data-science scicloj tablecloth tmd

tcutils

Clojars Project

A collection of util functions for working with tablecloth datasets.

This project is still under active development. Please feel free to share feedback or suggestions.

Usage

Install from Clojars

Add the dependency to your deps.edn file. The latest version can be found on Clojars.

Import into your project or notebook to use

(require '[scicloj.tcutils.api :as tcu])

(-> {"Some data" [1 2 3]
     "Some more data" [4 5 6]}
     tc/dataset
     tcu/clean-column-names)

Development

Run the project's tests:

$ clojure -T:build test

Run the project's CI pipeline and build a JAR:

$ 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

Generate the project's documentation website:

$ clojure -X:codox

License

Copyright © 2024 Kira McLean

Distributed under the MIT License.