<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Importing Data from txt file with lines of data every 10th row in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865764#M102881</link>
    <description>&lt;P&gt;You're the goat. This example will help teach me how to use script in this application.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 15:03:22 GMT</pubDate>
    <dc:creator>cschultz32</dc:creator>
    <dc:date>2025-04-04T15:03:22Z</dc:date>
    <item>
      <title>Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865507#M102867</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cschultz32_0-1743706909479.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74574i76E2DB80B3AB4300/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cschultz32_0-1743706909479.png" alt="cschultz32_0-1743706909479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;New jmp user here. I have a large text file with data on every 10th row starting on line 6. My column headers are on line 4 and I want to use fixed width fields, but it shifts the first 3 headers to the right when I select my own column width.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 19:24:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865507#M102867</guid>
      <dc:creator>cschultz32</dc:creator>
      <dc:date>2025-04-03T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865545#M102869</link>
      <description>&lt;P&gt;Given your data I suspect it would be easier to just specify headers starting on row 3 and data on row 6 and then let JMP defaults read the data in.&amp;nbsp; After that, you should be able to use JMP's data manipulating capabilities to get rid of unnecessary rows and then to convert the columns to numeric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide a sample csv file so the Community can see what they can come up with?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 19:41:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865545#M102869</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-04-03T19:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865546#M102870</link>
      <description />
      <pubDate>Thu, 03 Apr 2025 19:45:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865546#M102870</guid>
      <dc:creator>cschultz32</dc:creator>
      <dc:date>2025-04-03T19:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865547#M102871</link>
      <description>&lt;P&gt;I posted the sample file. Thanks for the reply&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 19:46:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865547#M102871</guid>
      <dc:creator>cschultz32</dc:creator>
      <dc:date>2025-04-03T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865562#M102872</link>
      <description>&lt;P&gt;Here is a simple script that reads in the data&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1743711500681.png" style="width: 902px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74582iDC4CCDA1A49FFB36/image-dimensions/902x273?v=v2" width="902" height="273" role="button" title="txnelson_0-1743711500681.png" alt="txnelson_0-1743711500681.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open(
	"&amp;lt;place the path to your txt file here",
	columns(
		New Column( "SampleID", Character, "Nominal" ),
		New Column( "Density", Character, "Nominal" ),
		New Column( "Weight", Character, "Nominal" ),
		New Column( "Gage", Character, "Nominal" ),
		New Column( "Peak", Character, "Nominal" ),
		New Column( "Perm", Character, "Nominal" ),
		New Column( "Pc@10", Character, "Nominal" ),
		New Column( "kG", Character, "Nominal" ),
		New Column( "Pc@13", Character, "Nominal" ),
		New Column( "kG 2", Character, "Nominal" ),
		New Column( "Pc@15", Character, "Nominal" ),
		New Column( "kG 3", Character, "Nominal" ),
		New Column( "Pc@17", Character, "Nominal" ),
		New Column( "kG 4", Character, "Nominal" ),
		New Column( "Pc@18", Character, "Nominal" ),
		New Column( "kG 5", Character, "Nominal" ),
		New Column( "Pz@10", Character, "Nominal" ),
		New Column( "kG 6", Character, "Nominal" ),
		New Column( "Pz@13", Character, "Nominal" ),
		New Column( "kG 7", Character, "Nominal" ),
		New Column( "Pz@15", Character, "Nominal" ),
		New Column( "kG 8", Character, "Nominal" ),
		New Column( "Pz@17", Character, "Nominal" ),
		New Column( "kG 9", Character, "Nominal" ),
		New Column( "Pz@18", Character, "Nominal" ),
		New Column( "kG 10", Character, "Nominal" ),
		New Column( "FF@10", Character, "Nominal" ),
		New Column( "FF@13", Character, "Nominal" ),
		New Column( "FF@15", Character, "Nominal" ),
		New Column( "FF@17", Character, "Nominal" ),
		New Column( "FF@18", Character, "Nominal" ),
		New Column( "PcPl", Character, "Nominal" ),
		New Column( "10", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PcPl 2", Character, "Nominal" ),
		New Column( "13", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PcPl 3", Character, "Nominal" ),
		New Column( "15", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PcPl 4", Character, "Nominal" ),
		New Column( "17", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PcPl 5", Character, "Nominal" ),
		New Column( "18", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PzPl", Character, "Nominal" ),
		New Column( "10 2", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PzPl 2", Character, "Nominal" ),
		New Column( "13 2", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PzPl 3", Character, "Nominal" ),
		New Column( "15 2", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PzPl 4", Character, "Nominal" ),
		New Column( "17 2", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "PzPl 5", Character, "Nominal" ),
		New Column( "18 2", Numeric, "Continuous", Format( "Best", 10 ) ),
		New Column( "Grain", Character, "Nominal" ),
		New Column( "Direction", Character, "Nominal" ),
		New Column( "Time", Character, "Nominal" )
	),
	Import Settings(
		End Of Line( CRLF, CR, LF ),
		End Of Field( Spaces, Space, CSV( 0 ) ),
		Treat Leading Zeros as Character( 1 ),
		Strip Quotes( 1 ),
		Use Apostrophe as Quotation Mark( 0 ),
		Use Regional Settings( 0 ),
		Scan Whole File( 1 ),
		Treat empty columns as numeric( 0 ),
		CompressNumericColumns( 0 ),
		CompressCharacterColumns( 0 ),
		CompressAllowListCheck( 0 ),
		Labels( 1 ),
		Column Names Start( 4 ),
		First Named Column( 1 ),
		Data Starts( 6 ),
		Lines To Read( "All" ),
		Year Rule( "20xx" )
	)
);

dt &amp;lt;&amp;lt; select where( Is Missing( Num( :sampleID ) ) == 1 | Is Missing( Num( :density ) ) );
dt &amp;lt;&amp;lt; delete rows;

colNames = dt &amp;lt;&amp;lt; get column names( string );

For( i = N Items( colNames ), i &amp;gt;= 1, i--,
	col = colNames[i];
	Column( col ) &amp;lt;&amp;lt; set datatype( numeric ) &amp;lt;&amp;lt; set modeling type( continuous );
	If( Col Number( As Column( col ) ) == 0,
		dt &amp;lt;&amp;lt; delete columns( col )
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Apr 2025 20:19:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865562#M102872</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-04-03T20:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865563#M102873</link>
      <description>&lt;P&gt;I would do something like txnelson did suggest, pull in data like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1743711257685.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74579i2A3D60EE5E7B7FFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1743711257685.png" alt="jthi_0-1743711257685.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then use JMP to clean it up. You could for example create new column with a formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Mod(Row(), 10)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;right click and select all rows with 1, invert selection and then delete rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1743711404390.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74580iD91876AD1E6AAEE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1743711404390.png" alt="jthi_1-1743711404390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After invert&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1743711418272.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74581i4523DBB6FCD52162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1743711418272.png" alt="jthi_2-1743711418272.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then remove empty columns and change data formats to numeric continuous as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be the basic idea (unless you wish to create JSL for it) but there seems to be some fixing to be done to get correct headers&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 20:19:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865563#M102873</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-04-03T20:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865764#M102881</link>
      <description>&lt;P&gt;You're the goat. This example will help teach me how to use script in this application.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 15:03:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865764#M102881</guid>
      <dc:creator>cschultz32</dc:creator>
      <dc:date>2025-04-04T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865765#M102882</link>
      <description>&lt;P&gt;Could I have another row of column headers under the first header for units? units are on line 5. Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 15:12:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865765#M102882</guid>
      <dc:creator>cschultz32</dc:creator>
      <dc:date>2025-04-04T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data from txt file with lines of data every 10th row</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865823#M102884</link>
      <description>&lt;P&gt;I have modified the JSL that after the data table is created as it was in my initial response, I then reread the .txt file, and to read the units.&amp;nbsp; It then add the units as Column Properties to the columns in the full data table.&lt;/P&gt;
&lt;P&gt;Note: The units are not part of the column name.&amp;nbsp; They are a column property.&amp;nbsp; However, the units will be displayed automatically with the column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1743790142236.png" style="width: 901px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74602i6C426E0954B13165/image-dimensions/901x280?v=v2" width="901" height="280" role="button" title="txnelson_0-1743790142236.png" alt="txnelson_0-1743790142236.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV&gt;Names Default To Here( 1 );&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;theFile = //"&amp;lt;place the path to your txt file here",&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "L:\Documents\Discussion Group/cschultz32.txt";&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;dt = Open( theFile,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Import Settings(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; End Of Line( CRLF, CR, LF ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; End Of Field( Spaces, Space, CSV( 0 ) ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Treat Leading Zeros as Character( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Strip Quotes( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Use Apostrophe as Quotation Mark( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Use Regional Settings( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Scan Whole File( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Treat empty columns as numeric( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressNumericColumns( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressCharacterColumns( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressAllowListCheck( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Labels( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Column Names Start( 4 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; First Named Column( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Data Starts( 6 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Lines To Read( "All" ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Year Rule( "20xx" )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;dt &amp;lt;&amp;lt; select where( Is Missing( Num( :sampleID ) ) == 1 | Is Missing( Num( :density ) ) );&lt;/DIV&gt;
&lt;DIV&gt;dt &amp;lt;&amp;lt; delete rows;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;colNames = dt &amp;lt;&amp;lt; get column names( string );&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For( i = N Items( colNames ), i &amp;gt;= 1, i--,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; col = colNames[i];&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Column( col ) &amp;lt;&amp;lt; set datatype( numeric ) &amp;lt;&amp;lt; set modeling type( continuous );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; If( Col Number( As Column( col ) ) == 0,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; dt &amp;lt;&amp;lt; delete columns( col )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;// Read in the units and apply them&lt;/DIV&gt;
&lt;DIV&gt;dtUnits = Open( theFile,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Import Settings(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; End Of Line( CRLF, CR, LF ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; End Of Field( Spaces, Space, CSV( 0 ) ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Treat Leading Zeros as Character( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Strip Quotes( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Use Apostrophe as Quotation Mark( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Use Regional Settings( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Scan Whole File( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Treat empty columns as numeric( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressNumericColumns( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressCharacterColumns( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; CompressAllowListCheck( 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Labels( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Column Names Start( 4 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; First Named Column( 1 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Data Starts( 5 ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Lines To Read( "All" ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Year Rule( "20xx" )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;);&lt;/DIV&gt;
&lt;DIV&gt;dtUnits &amp;lt;&amp;lt; select where(row()&amp;gt;1);&lt;/DIV&gt;
&lt;DIV&gt;dtUnits &amp;lt;&amp;lt; delete rows;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;colNames = dt &amp;lt;&amp;lt; get column names( string, numeric );&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For Each( {col}, colNames,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; units = Column( dtUnits, col )[1];&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; If( Is Missing( units ) == 0,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; units = Substitute( units, "(", "", ")", "" );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Eval( Eval Expr( Column( dt, col ) &amp;lt;&amp;lt; set property( "units", Expr( units ) ) ) );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;close( dtUnits, nosave );&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Apr 2025 18:10:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-Data-from-txt-file-with-lines-of-data-every-10th-row/m-p/865823#M102884</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-04-04T18:10:13Z</dc:date>
    </item>
  </channel>
</rss>

