title: pyspark parse fixed width text file
body: <p>Trying to parse a fixed width text file.  </p>
  
  <p>my text file looks like the following and I need a row id, date, a string, and an integer:</p>
  
  <pre><code>00101292017you1234
  00201302017 me5678
  </code></pre>
  
  <p>I can read the text file to an RDD using sc.textFile(path).
  I can createDataFrame with a parsed RDD and a schema.
  It's the parsing in between those two steps.</p>