title: How to view all rows of an output thats not in table form
body: <p><strong>Problem</strong>
  I started with an ungrouped data set which I proceeded to group, the output of the grouping however, does not return all 427 rows. The output is needed to input that data into a table.</p>
  
  <p>So initially the data was ungrouped and appears as follows:</p>
  
  <pre><code>Occupation Education Age Died
  1  household Secondary  39   no
  2    farming   primary  83  yes
  3    farming   primary  60  yes
  4    farming   primary  73  yes
  5    farming Secondary  51   no
  6    farming iliterate  62  yes
  </code></pre>
  
  <p>The data is then grouped as follows:</p>
  
  <pre><code>occu %&gt;% group_by(Occupation, Died, Age) %&gt;% count()##use this to group on the occupation of the suicide victimrs
  </code></pre>
  
  <p>which gives the following output:</p>
  
  <pre><code> Occupation       Died    Age     n
    &lt;fct&gt;            &lt;fct&gt; &lt;int&gt; &lt;int&gt;
  1 business/service no       20     2
  2 business/service no       30     1
  3 business/service no       31     2
  4 business/service no       34     1
  5 business/service no       36     2
  6 business/service no       41     1
  7 business/service no       44     1
  8 business/service no       46     1
  9 business/service no       84     1
  10 business/service yes      21     1
  # ... with 417 more rows
  </code></pre>
  
  <p>problem is i need all the rows in order to input the grouped data into a table using:</p>
  
  <pre><code>dt &lt;- read.table(text="full output from above")
  </code></pre>
  
  <p>If any more code would be useful to solving this let me know.</p>