I work with data stored in a table as Parameter and value. Since the value may be a character for some Parameters the data type in the database is Character. Pulling the data into JMP with an SQL script is easy and Splitting the data by Parameter is also easy. But now I have a table of columns where I'd like to convert some of the columns to numeric, but others I do not. I tried this but to my surprise JMP happily converted all columns to numeric, throwing out the information that was truly character.
Tcols = dt << Get Column Names(String);
For(i=2, i<=n items(Tcols), i++,
try(column(dt,i) << Data Type(Character);
column(dt,i) << Modeling Type("Nominal"));
);
How can I do a test to convert only columns where the data is appropriately numeric.