<?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: Data file transfer from PDF file to SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257358#M49391</link>
    <description>&lt;P&gt;Not approve by my manager&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 16:42:05 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2016-03-17T16:42:05Z</dc:date>
    <item>
      <title>Data file transfer from PDF file to SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257344#M49381</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi, all:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I need some help.&amp;nbsp; Please see the PDF attachment.&amp;nbsp; The last column of table 1 is 95% CI of Persons living with diagnosed HIV infection.&amp;nbsp; I would like to separate the lower CI and upper CI into different columns (such as column A and column B).&amp;nbsp; The final purpose is inputting into SAS file. &amp;nbsp;&amp;nbsp;However, it could be changed to word/excel file first (see excel file), &amp;nbsp;or maybe write some SAS code to input.&amp;nbsp; Any idea how?&amp;nbsp; Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Warm regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Yingtao&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 15:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257344#M49381</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2016-03-17T15:55:23Z</dc:date>
    </item>
    <item>
      <title>Data file transfer from PDF file to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257342#M49385</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi, all:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I need some help.&amp;nbsp; Please see the PDF attachment.&amp;nbsp; The last column of table 1 is 95% CI of Persons living with diagnosed HIV infection.&amp;nbsp; I would like to separate the lower CI and upper CI into different columns (such as column A and column B).&amp;nbsp; The final purpose is inputting into SAS file. &amp;nbsp;&amp;nbsp;However, it could be changed to word/excel file first (see excel file), &amp;nbsp;or maybe write some SAS code to input.&amp;nbsp; Any idea how?&amp;nbsp; Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Warm regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Yingtao&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 15:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257342#M49385</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2016-03-17T15:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data file transfer from PDF file to SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257346#M49383</link>
      <description>&lt;P&gt;Get Adobe PDF Professional - it has a tool for allowing copy/paste or extracts of tables. Or a third party tool - this isn't something SAS would be very good at extracting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 16:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257346#M49383</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-17T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data file transfer from PDF file to SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257354#M49389</link>
      <description>&lt;P&gt;Your biggest problem is going to be getting the data from an output format (PDF in this case) into a useable format. &amp;nbsp;If you can select the column, and copy and paste, then its fine and a simple process to split it:&lt;/P&gt;
&lt;PRE&gt;data want;
  length ci $20;
  infile datalines dlm="¬";
  input ci $;
  lower=scan(compress(ci,"( )"),1,"-");
  upper=scan(compress(ci,"( )"),2,"-");
datalines;
(123.2 - 345.32)
(34.1 - 451.12)
;
run;&lt;/PRE&gt;
&lt;P&gt;The problem is selecting that data in PDF - which is a document format not a data transfer format. &amp;nbsp;Can you not get the source data? &amp;nbsp;If not then as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;suggested, get the Adobe. &amp;nbsp;Or if your very lucky and the table can be copied to Excel (in a validated way - i.e. data might change formatting etc.) then you could select and copy from there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 16:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257354#M49389</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-17T16:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data file transfer from PDF file to SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257358#M49391</link>
      <description>&lt;P&gt;Not approve by my manager&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 16:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257358#M49391</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2016-03-17T16:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data file transfer from PDF file to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257379#M49402</link>
      <description>&lt;P&gt;Go to CDC MMWR Archive, 2015&amp;nbsp;is at &lt;A href="http://www.cdc.gov/mmwr/index2015.html" target="_blank"&gt;http://www.cdc.gov/mmwr/index2015.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Open the article of interest, the pages are html freindly and you can highlight, copy paste into Excel. Each cell is as on the website so likely it would be best to save to CSV and read with more control than importing from Excel. Especially with the footnote indicators in some of the cells.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do a file save as to save the whole article to a local HTML file.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 17:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-file-transfer-from-PDF-file-to-SAS/m-p/257379#M49402</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-17T17:30:20Z</dc:date>
    </item>
  </channel>
</rss>

