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

10 Sep, 2024 03:41 AM
09 Sep, 2024 02:15 PM
07 Sep, 2024 05:16 AM
05 Sep, 2024 02:21 AM
04 Sep, 2024 05:01 AM

 

03 Sep, 2024 10:07 AM
02 Sep, 2024 05:56 AM
31 Aug, 2024 11:07 PM
27 Aug, 2024 12:08 AM
26 Aug, 2024 01:02 PM
26 Aug, 2024 07:18 AM