Tidy Viewer (tv) is a csv pretty printer that uses column styling to maximize viewer enjoyment.
The current version is alpha. I do not plan to push to crates.io until this is more polished. If you would like to try this in its raw state install rust and follow the steps below.
cargo build --release
bin
git clone https://github.com/alexhallam/tv
cd tv
cargo build --release
sudo cp ./target/release/tv /usr/local/bin/.
```
wget https://raw.githubusercontent.com/tidyverse/ggplot2/master/data-raw/diamonds.csv
cat diamonds.csv | head -n 35 | tv ```
tv
is a good compliment to command line data manipulation tools. I have listed some tools that I like to use with tv.
xsv - a command line program for indexing, slicing, analyzing, splitting and joining CSV files
tsv-utils - command line utilities for tabular data files
q - q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs
miller - Miller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, tabular JSON and positionally-indexed.
column
Comes standard with linux.