- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Test column data type
Hi,
Is there a simple way to test if the data type of a column is numeric and nominal?
Thanks and regards,
Jérôme
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Test column data type
Created:
Feb 14, 2017 06:08 AM
| Last Modified: Feb 14, 2017 3:14 AM
(5851 views)
| Posted in reply to message from j_bonnouvrier 02-14-2017
You can retrieve both the Data Type and the Modeling Type of a column
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
show(dt:Height << Get Data Type());
show(dt:Height << Get Modeling Type());
The documentation for these 2 elements is in the Scripting Index
Help==>Scripting Index==>Data Table==>Column Scripting
Jim