Make Table

john's Avatar

john

12 Oct, 2017 10:16 AM

This is a general purpose version of a subnetwork I posted earlier. This version allows you to easily make a table of up to six columns. Just enter the header names as a comma-separated list then hook up as many lists as you need to populate the columns. For best results make sure the lists have the same number of members (or has only one member if you want to repeat that value on each row).

Make_table outputs a table (technically a list of zipmaps) which you treat like any other table in NodeBox, You can filter it, sort it, do lookups, even export it as a CSV.

This is the single most useful subnetwork I have ever created. I use it constantly. Frederik, if you're listening, I wish this was a standard NodeBox node. It would be easy to add to the next release!

For tables with more than 6 columns, see the MERGE_TABLES comment below.

Enjoy!

John

  1. Support Staff 1 Posted by lucasnijs on 13 Oct, 2017 08:52 PM

    lucasnijs's Avatar

    Yes Frederik, make this happen, I agree,

    Lucas

  2. Support Staff 2 Posted by john on 21 Oct, 2017 02:09 AM

    john's Avatar

    Here is a bonus for you table hounds: Merge_Tables.

    This subnetwork allows you to create tables with more than six columns by merging two smaller tables. Just connect the two tables. The resulting table will have columns from both. For best results make sure both tables have the same number of rows.

    Frederik, I really think make_table should be a standard node. I'm not sure about merge_tables though. It's nice to have but less often needed.

    Demo network and screenshot attached. Enjoy!

  3. Support Staff 3 Posted by Frederik De Ble... on 23 Oct, 2017 08:04 AM

    Frederik De Bleser's Avatar

    This looks extremely useful! I'll find some time this week to add it to NodeBox.

  4. Support Staff 4 Posted by Frederik De Ble... on 24 Oct, 2017 12:08 PM

    Frederik De Bleser's Avatar

    I've added the make_table node. There are some intricacies with missing data and missing headers I had to figure out, but everything looks okay now.

    I've kindly requested Lucas makes an icon for it, and then it's good to go :-)

  5. Support Staff 5 Posted by john on 24 Oct, 2017 05:43 PM

    john's Avatar

    Wonderful!

    Nice attention to detail as always with the missing headers, etc. I also appreciate your animated GIF demo.

    John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • make_table_screeshot.png 299 KB
  • Make_Table.zip 1.34 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Dec, 2017 01:04 AM
10 Dec, 2017 10:51 AM
05 Dec, 2017 06:09 AM
04 Dec, 2017 09:49 PM
02 Dec, 2017 10:19 PM

 

29 Nov, 2017 02:31 AM
28 Nov, 2017 06:25 PM
28 Nov, 2017 08:29 AM
27 Nov, 2017 01:11 AM
26 Nov, 2017 06:58 AM
19 Nov, 2017 10:33 PM