GithubHelp home page GithubHelp logo

ramsailopal / visidata Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 251 KB

A YottaDB/Intersystems Cache/Intersystems IRIS/GTm plugin for Visidata

Shell 100.00%
visidata yottadb gtm intersystems-cache intersystems-iris mumps

visidata's Introduction

Visidata

Installing and running

YottaDB is referenced in this ReadMe but Intersystems IRIS and Cache databases can also be used as well as GTm

With Visidata/mg_python already installed and YottaDB/mg-gateway already installed somewhere on the network:

git clone https://github.com/RamSailopal/Visidata.git
cd Visidata
cp .visidatarc ~/.visidatarc

Then execute

vd yottadb://host:port/global/delimiter

Where host is the host/IP address of the server running YottaDB, port is the port, global is the global to extract data from and delimiter is the filed delimiter for the subscript values.

It is assumed that the global in question is in a "flat" format with the first ordered subscript the headers and the rest the values i.e.

^CARS(1)="Make,Model,Colour"
^CARS(2)="BMW,320,Black"  
^CARS(3)="Audi,A4,Red"
^CARS(4)="Honda,Civic,Silver"
^CARS(5)="Nissan,Quashqai,Black"

To import this into Visidata and with yottadb running on the same server, we run:

 vd yottadb://localhost:7041/^CARS/,

Gitpod Demo

Open in Gitpod

  1. Create a free/paid Gitpod account - https://www.gitpod.io/
  2. Log into the account
  3. Open a new browser tab and add gitpod.io/#https://github.com/RamSailopal/Visidata to the address - This will create a new Gitpod cloud instance and display the CARS global above in Visidata. Any subsequent changes to data in the CARS global will be reflected in Visidata once a reload (Ctrl+R) is actioned.

Alt text

References

Visidata - https://www.visidata.org/

YottaDB - https://yottadb.com/

mg_python - https://github.com/chrisemunt/mg_python

visidata's People

Contributors

ramsailopal avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.