O'Reilly logo

Clojure Data Analysis Cookbook - Second Edition by Eric Rochester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Working with Incanter Datasets

In this chapter, we will cover the following recipes:

  • Loading Incanter's sample datasets
  • Loading Clojure data structures into datasets
  • Viewing datasets interactively with view
  • Converting datasets to matrices
  • Using infix formulas in Incanter
  • Selecting columns with $
  • Selecting rows with $
  • Filtering datasets with $where
  • Grouping data with $group-by
  • Saving datasets to CSV and JSON
  • Projecting from multiple datasets with $join

Introduction

We've seen Incanter (http://incanter.org/) earlier in this book, but we'll spend a lot more time with this library over the next few chapters. Incanter combines the power to do statistics using a fully-featured statistical language such as R (http://www.r-project.org/) with the ease and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required