Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scicloj/tcutils

Utility functions for working with tablecloth datasets
https://github.com/scicloj/tcutils

clojure data-science scicloj tablecloth tmd

Last synced: 2 months ago
JSON representation

Utility functions for working with tablecloth datasets

Awesome Lists containing this project

README

        

# tcutils

[![Clojars Project](https://img.shields.io/clojars/v/org.scicloj/tcutils.svg)](https://clojars.org/org.scicloj/tcutils)

A collection of util functions for working with [tablecloth](https://github.com/scicloj/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](https://clojars.org/org.scicloj/tcutils/).

### Import into your project or notebook to use

```clojure
(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.