saulpw / visidata

A terminal spreadsheet multitool for discovering and arranging data
http://visidata.org
GNU General Public License v3.0
7.88k stars 279 forks source link

[hierarchy col] Add a way to show a hierarchy column. #692

Closed frosencrantz closed 4 years ago

frosencrantz commented 4 years ago

There are different data sources, where the data is in a parent-child relationship, and it would be useful if we could visually see that in VisiData.

Some examples:

I would like if there was a way to sort a column so that child and parents are in order so you can add a visual column that show the parent/child hierarchy. There are examples of this in Unix terminal programs, like ps can show a tree, the tree command.

saulpw commented 4 years ago

This is a good idea, @frosencrantz. I've wanted this sometimes myself. Not quite sure exactly how to do it, but it doesn't seem impossible.

Kondo'ed per wishlist policy. (A Workflow Optimist subscriber on Patreon can keep it open and in our awareness.)

frosencrantz commented 4 years ago

Hi @saulpw

I'm still not a sponsor, and can not promise to at this point.

I do hope you can get a few more sponsors! It looks like you've added Github sponsorship, too. So is Patreon the preferred sponsorship? It would be good to say if you have a preference.

saulpw commented 4 years ago

I understand, not everyone can offer financial support. I just wanted to provide people an incentive to keep their favorite issue on our radar. I'm still figuring out how things work best. It's all a big experiment :)

dufferzafar commented 2 years ago

@saulpw Have you thought about this recently? I would be up for implementing such a parent / child data viewer. For eg json etc.

saulpw commented 1 year ago

Hi @dufferzafar ! I'm getting back into VisiData after a few months of working on Hanukkah of Data. If you're still interested in this, I would love to talk with you about it. Come chat with us on Discord at visidata.org/chat, or otherwise get in touch. Looking forward to possibly working with you on this.