<?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: Proc Import CSV, remove missing data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-CSV-remove-missing-data/m-p/620583#M77178</link>
    <description>&lt;P&gt;Take a look here:&lt;A href="https://communities.sas.com/t5/SAS-Programming/Importing-a-CSV-file-from-R-with-NA-s-as-missing/td-p/492765" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Importing-a-CSV-file-from-R-with-NA-s-as-missing/td-p/492765&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and see if this solves the problem you're having.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 18:24:05 GMT</pubDate>
    <dc:creator>unison</dc:creator>
    <dc:date>2020-01-28T18:24:05Z</dc:date>
    <item>
      <title>Proc Import CSV, remove missing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-CSV-remove-missing-data/m-p/620576#M77177</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I'm trying to import some datasets in SAS and join them, the only problem is that I get this error after joining them -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile='filepath/datasetA.csv'
out = dataA
dbms= csv
replace;
run;


proc import datafile='filepath\datasetB.csv'
out = dataB
dbms= csv
replace;
run;



/* combine them all into one dataset*/


data DataC;
set &amp;amp;dataA. &amp;amp;dataB;

run;



ERROR:&amp;nbsp;Variable column_k has been defined as both character and numeric.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column in question looks something like this in both of the data sets that I'm trying to join -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;column_k&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;NA&lt;/P&gt;&lt;P&gt;NA&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;NA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I would like to import the NA data in that column as 'missing', if that's possible? I need the entire column to remain numeric as I'm planning on doing some mathematical stuff with the data in that column further down the line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-CSV-remove-missing-data/m-p/620576#M77177</guid>
      <dc:creator>sasuser12321</dc:creator>
      <dc:date>2020-01-28T17:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import CSV, remove missing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-CSV-remove-missing-data/m-p/620583#M77178</link>
      <description>&lt;P&gt;Take a look here:&lt;A href="https://communities.sas.com/t5/SAS-Programming/Importing-a-CSV-file-from-R-with-NA-s-as-missing/td-p/492765" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Importing-a-CSV-file-from-R-with-NA-s-as-missing/td-p/492765&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and see if this solves the problem you're having.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Import-CSV-remove-missing-data/m-p/620583#M77178</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2020-01-28T18:24:05Z</dc:date>
    </item>
  </channel>
</rss>

