<?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: HTML import as data table issue in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270821#M52715</link>
    <description>&lt;P&gt;Thanks for posting it as a table here. That means we can try importing it from here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the result from this JSL for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
	"https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270810#M52714",
	HTML Table( 1, Column Names( 0 ), Data Starts( 1 ) )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For me the column imports as a character column and all the values are there.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 20:52:00 GMT</pubDate>
    <dc:creator>Jeff_Perkinson</dc:creator>
    <dc:date>2020-06-04T20:52:00Z</dc:date>
    <item>
      <title>HTML import as data table issue</title>
      <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270361#M52637</link>
      <description>&lt;P&gt;I have been using the open() function for a HTML file. I'm now dealing with a column that has values such as "&amp;lt;2.4!".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I use the open() function, it imports those values as "" in the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I do it using prompts in JMP, after opening the html file, I'm able to open the html file using 'Import table as Data Table' and the correct value of "&amp;lt;2.4!" is imported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to script this so that those values are not missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:27:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270361#M52637</guid>
      <dc:creator>danielharding0</dc:creator>
      <dc:date>2023-06-09T23:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: HTML import as data table issue</title>
      <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270709#M52693</link>
      <description>&lt;P&gt;That would be interesting to look at. Could you post a portion of your HTML file or a link to it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you might have hard coded that that column should be numeric somehow? Since it is now character, all of the non numeric values become missing.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 13:45:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270709#M52693</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2020-06-04T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: HTML import as data table issue</title>
      <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270810#M52714</link>
      <description>&lt;P&gt;It's not coded any where that the column must be numeric. Here's the code for opening I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;//open the data as a jmp data table
dtcd = Open(
&amp;lt;html file&amp;gt;,
"invisible",
HTML Table( 1, Column Names( 3 ), Data Starts( 4 ) ) 
);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a portion of the html file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt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lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 19:55:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270810#M52714</guid>
      <dc:creator>danielharding0</dc:creator>
      <dc:date>2020-06-04T19:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: HTML import as data table issue</title>
      <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270821#M52715</link>
      <description>&lt;P&gt;Thanks for posting it as a table here. That means we can try importing it from here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the result from this JSL for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
	"https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270810#M52714",
	HTML Table( 1, Column Names( 0 ), Data Starts( 1 ) )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For me the column imports as a character column and all the values are there.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 20:52:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270821#M52715</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-06-04T20:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: HTML import as data table issue</title>
      <link>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270826#M52717</link>
      <description>&lt;P&gt;That worked for me as well with the column as character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There actually is another level of complexity since the original file is an html file that is saved in excel with an html extension (automated data from a machine). So I do the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	FileList = pick file("Select Data");

	//Rename xls to html
	
		Basefile=Substr( FileList, Contains(  FileList, "/", -1 )+1  );
		basefile2=left(Basefile,length(Basefile)-3);
		Copy File(FileList,basefile2||"html");
		FileList_final = basefile2||"html";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That is done before I do the previous open function (here again for reference):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;		dtcd = Open(
			FileList_final,
			"invisible",
			HTML Table( 1, Column Names( 0 ), Data Starts( 1 ) ),
			);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Jun 2020 21:01:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/HTML-import-as-data-table-issue/m-p/270826#M52717</guid>
      <dc:creator>danielharding0</dc:creator>
      <dc:date>2020-06-04T21:01:10Z</dc:date>
    </item>
  </channel>
</rss>

