• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    JavaScript
  • License
    Other
  • Created almost 7 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Julia wrapper for the Voyager data exploration tool

DataVoyager

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Build Status Build status codecov.io

Overview

This package provides julia integration for the Voyager data exploration tool.

Getting Started

DataVoyager.jl can be used for data exploration. It can help you visualize and understand any data that is in a tabular format.

You can install the package at the Pkg REPL-mode with:

(v1.0) pkg> add DataVoyager

Exploring data

You create a new voyager window by calling Voyager:

using DataVoyager

v = Voyager()

By itself this is not very useful, the next step is to load some data into voyager. Lets assume your data is in a DataFrame:

using DataFrames, DataVoyager

data = DataFrame(a=rand(100), b=randn(100))

v = Voyager(data)

You can also use the pipe to load data into voyager:

using DataFrames, DataVoyager

data = DataFrame(a=rand(100), b=randn(100))

v = data |> Voyager()

With a more interesting data source

using VegaDatasets, DataVoyager

v = dataset("cars") |> Voyager()

You can load any IterableTables.jl source into voyager, i.e. not just DataFrames. For example, you can load some data from a CSV file with CSVFiles.jl, filter them with Query.jl and then visualize the result with voyager:

using FileIO, CSVFiles, Query, DataVoyager

v = load("data.csv") |> @filter(_.age>30) |> Voyager()

In this example the data is streamed directly into voyager and at no point is any DataFrame allocated.

Extracting plots

You can also access a plot that you have created in the voyager UI from julia, for example to save the plot to disc.

You can access the currently active plot in a given voyager window v with the brackets syntax:

using VegaDatasets, DataVoyager, VegaLite

v = dataset("cars") |> Voyager()

plot1 = v[]

At this point plot1 will hold a standard VegaLite.jl plot object. You can use the normal VegaLite.jl functions to display such a plot, or save it to disc:

display(plot1)

plot1 |> save("figure1.pdf")

A useful pattern here is to save the plot as a vega-lite JSON file to disc, without the data:

using VegaDatasets, DataVoyager, VegaLite

v = dataset("cars") |> Voyager()

# Now create the plot in the UI

v[] |> save("figure1.vegalite")

At a later point you can then load this figure specification again, but pipe new data into it:

using VegaLite, VegaDatasets

dataset("cars") |> load("figure1.vegalite")

More Repositories

1

Query.jl

Query almost anything in julia
Julia
394
star
2

VegaLite.jl

Julia bindings to Vega-Lite
Julia
269
star
3

Queryverse.jl

A meta package for data science in julia
Julia
153
star
4

ElectronDisplay.jl

An Electron.jl based figure and table display.
CSS
85
star
5

IterableTables.jl

Implementations of the TableTraits.jl interface for various packages
Julia
79
star
6

ReadStat.jl

Read files from Stata, SAS, and SPSS
Julia
78
star
7

ExcelReaders.jl

ExcelReaders is a package that provides functionality to read Excel files.
Julia
58
star
8

TextParse.jl

A bunch of fast text parsing tools
Julia
57
star
9

CSVFiles.jl

FileIO.jl integration for CSV files
Julia
50
star
10

ExcelFiles.jl

FileIO.jl integration for Excel files
Julia
42
star
11

StatFiles.jl

FileIO.jl integration for Stata, SPSS, and SAS files
Julia
24
star
12

VegaDatasets.jl

Julia package for loading the standard Vega data sets
Julia
20
star
13

ParquetFiles.jl

FileIO.jl integration for Parquet files
Julia
19
star
14

DataValues.jl

Missing values for julia
Julia
14
star
15

TableTraits.jl

Traits for julia tables
Julia
13
star
16

QueryOperators.jl

Query operators for julia
Julia
11
star
17

IteratorInterfaceExtensions.jl

Traits for julia iterators
Julia
11
star
18

FeatherFiles.jl

FileIO.jl integration for Feather files
Julia
8
star
19

Vega.jl

Julia bindings to Vega
Julia
6
star
20

QuickVega.jl

Julia
6
star
21

QuerySQLite.jl

SQLite backend for Query.jl
Julia
4
star
22

FeatherLib.jl

Low level Julia library for reading feather files
Julia
4
star
23

Lyra.jl

Julia wrapper for the Lyra Visualization Design Environment
Julia
3
star
24

DataTables.jl

A simple read-only table type for the Queryverse
Julia
3
star
25

NamedTupleUtilities.jl

Various helper functions for named tuples
Julia
3
star
26

SandDance.jl

TypeScript
2
star
27

TableTraitsUtils.jl

Utilities for implementing the TableTraits.jl interfaces
Julia
2
star
28

FstFiles.jl

FileIO.jl integration for fst files
Julia
2
star
29

QueryTables.jl

A simple table type for the Queryverse
Julia
2
star
30

TableShowUtils.jl

Low level package that provides some helpers for implementing show for TableTraits.jl types
Julia
2
star
31

queryverse.github.io

Queryverse homepage
HTML
2
star
32

QueryverseTests

Queryverse integration tests
1
star
33

LibXLS.jl

Julia
1
star
34

QueryableBackend.jl

Low level package to support custom Query.jl backends
Julia
1
star
35

VegaLiteBuilder

Julia
1
star