<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SEER on bradleycarey.com</title>
    <link>https://bradleycarey.com/tags/seer/</link>
    <description>Recent content in SEER on bradleycarey.com</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 02 Sep 2023 22:22:18 -0400</lastBuildDate>
    <atom:link href="https://bradleycarey.com/tags/seer/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SAS Data File to PostgreSQL friendly CSV using Perl</title>
      <link>https://bradleycarey.com/posts/2012-12-24-sas-data-file-to-postgresql-friendly-csv-using-perl/</link>
      <pubDate>Mon, 24 Dec 2012 00:06:39 -0400</pubDate>
      <guid>https://bradleycarey.com/posts/2012-12-24-sas-data-file-to-postgresql-friendly-csv-using-perl/</guid>
      <description>&lt;p&gt;In my database course at Marshall University, I helped my professor with a side project involving Cancer research data that has been collected since 1973 by the National Cancer Institute. My first job was to take the &lt;a href=&#34;http://seer.cancer.gov/about/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SEER&lt;/a&gt; data and load it into a postgreSQL database.&lt;/p&gt;&#xA;&lt;p&gt;The job was simple enough. The only problem? The data files were in &lt;a href=&#34;http://en.wikipedia.org/wiki/SAS_%28software%29&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SAS format&lt;/a&gt;. Basically the format was CRLF delimited entries composed of fixed-length fields. &lt;a href=&#34;http://seer.cancer.gov/manuals/read.seer.research.nov2011.sas&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Here&lt;/a&gt; is a list of the fields and lengths that I used for the script.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
