Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/scicloj/tcutils
- Owner: scicloj
- License: mit
- Created: 2024-02-12T14:33:10.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T18:11:09.000Z (5 months ago)
- Last Synced: 2024-09-29T17:22:32.911Z (3 months ago)
- Topics: clojure, data-science, scicloj, tablecloth, tmd
- Language: Clojure
- Homepage: https://scicloj.github.io/tcutils/
- Size: 74.2 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.