Hi,
I have a data table (imported from Excel) where some column names have a date Format (e.g. September 14). But there are other columns as well. Attached you find the jmp data table Example1. There are two issues.
First Issue:
I need to stack the date columns to have them e.g. as X in a Graph Builder analysis.This is not very difficult (script in Example1, but the table will be a living document and new columns will be added as months progress and therefore I cannot use the automated script with hard coded columns.
I need to extract those column names with such a date structure (Month YY) and stack them. I tried to use Get Column Name which extracts the column list:
colNames = Data Table( "Example1" ) << Get Column Names;
show(colNames);
But I could not extract just the ones I'm interested to stack. I thought about Regex() but couldn't get it run in the way I liked it to have.
Second Issue:
Then the next issue appears. The data type will be character and nominal. I would like it to be numeric and ordinal (or at least character and ordinal but in the correct series). When changing the property to numeric I got a lot of missing values, but not all.
Not sure what I do wrong here.
Thanks for your help,
Martin