Skip to content

applied-science/edn-datasets

Repository files navigation

EDN datasets

You've asked me what the lobster is weaving there with his golden feet?
I reply, the ocean knows this.
You say, what is the ascidia waiting for in its transparent bell?
What is it waiting for?
I tell you it is waiting for time, like you.
You ask me whom the Macrocystis alga hugs in its arms?
Study, study it, at a certain hour, in a certain sea I know.
You question me about the wicked tusk of the narwhal, and I reply by describing
How the sea unicorn with the harpoon in it dies.
You enquire about the kingfisher's feathers,
which tremble in the pure springs of the southern tides?
Or you've found in the cards a new question touching on the crystal architecture
of the sea anemone, and you'll deal that to me now?

– Pablo Neruda, Enigmas

Small, ready-to-hand datasets, already in extensible data notation.

For Clojurians who just want to grab Anscombe's quartet or Anderson's irises and get on with it, without worrying about CSV parsing or picking a JSON library. Motivated in part by jealousy of R‘s built-in datasets.

Usage

  1. For your deps.edn:
applied-science/edn-datasets {:git/url "git@github.com:applied-science/edn-datasets.git"
                              :sha "da3aa56886d4027d7ef6b3f91083e1833d3a4f93"}
  1. Add [applied-science.edn-datasets :as data] to your requires.

  2. Eval data/anscombe or another var, or access an EDN resource directly with something like (clojure.java.io/resource "iris.edn")

Notebooks

Inbound processing and small explorations or visualizations of the datasets may be documented in the notebooks directory, which is intended for use with Clerk.

MIT License

See LICENSE file in the root directory.

Copyright (c) 2022 Applied Science Studio

About

Small, ready-to-hand datasets, already in EDN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published