README.md

rvisidata

The goal of rvisidata is to combine the power of Visidata, "A Swiss Army Chainsaw for Data", with R.

Installation

Visidata

You need to have Visidata installed. Please follow the official installation instructions provided here. If you already have python3 installed, the easiest way to install it is with pip3: pip3 install visidata.

To verify visidata is installed correctly, vd --version should print out the installed version.

Package

rvisidata can be installed with devtools from the official GitHub repo:

devtools::install_github('paulklemm/rvisidata')

Example

vd(iris)

How it Works

Internally, rvisidata writes the data frame as a csv file to a temporary folder and then loads it with visidata. Be therefore careful with very large data frames, because the writing process can take a while. It will delete the temporary file after the visidata session is closed.

I do not claim that this implementation is efficient or very elegant. But it works. Suggestions for making it faster are very welcome.

Limitations

Right now this tool only opens the data frame and discards any changes you make for two reasons: (1) you should do your data manipulation in R to have a reproducible analysis workflow and (2) it is easier to implement this way 😇.

Credits

Visidata is designed and developed by Saul Pwanson (official GitHub repository).



paulklemm/rvisidata documentation built on May 14, 2019, 5:16 a.m.