Skip to content
Snippets Groups Projects
Commit 30fb5461 authored by Ben Anderson's avatar Ben Anderson
Browse files

latest run

parent 3982614b
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ $(document).ready(function () {
<h1 class="title toc-ignore">MTUS World 6 Data Processing</h1>
<h4 class="author"><em>Ben Anderson (<a href="mailto:b.anderson@soton.ac.uk">b.anderson@soton.ac.uk</a>, <a href="mailto:/@dataknut">/@dataknut</a>)</em></h4>
<h4 class="date"><em>Last run at: 2017-05-23 13:28:18</em></h4>
<h4 class="date"><em>Last run at: 2017-06-27 17:35:27</em></h4>
</div>
......@@ -188,7 +188,14 @@ $(document).ready(function () {
## Unrecognized record type 7, subtype 18 encountered in system file</code></pre>
<pre><code>## re-encoding from CP1252</code></pre>
<pre><code>## user system elapsed
## 225.749 10.703 260.696</code></pre>
## 299.659 16.317 647.112</code></pre>
<pre class="r"><code>names(mtusEpsW6DT)</code></pre>
<pre><code>## [1] &quot;countrya&quot; &quot;survey&quot; &quot;swave&quot; &quot;msamp&quot; &quot;hldid&quot; &quot;persid&quot;
## [7] &quot;id&quot; &quot;day&quot; &quot;cday&quot; &quot;month&quot; &quot;year&quot; &quot;diary&quot;
## [13] &quot;badcase&quot; &quot;sex&quot; &quot;age&quot; &quot;time&quot; &quot;clockst&quot; &quot;start&quot;
## [19] &quot;end&quot; &quot;epnum&quot; &quot;main&quot; &quot;sec&quot; &quot;av&quot; &quot;inout&quot;
## [25] &quot;eloc&quot; &quot;ict&quot; &quot;mtrav&quot; &quot;alone&quot; &quot;child&quot; &quot;sppart&quot;
## [31] &quot;oad&quot;</code></pre>
<p>We have loaded 11,501,221 rows of data for 11 countries.</p>
<pre class="r"><code>kable(caption = &quot;Number of diaries per year&quot;,
ba_tidyNum(table(mtusEpsW6DT$survey,droplevels(mtusEpsW6DT$countrya)) # removes unused countries
......@@ -517,7 +524,7 @@ setkey(mtusUKEpsDT, countrya, survey, swave, msamp, hldid, persid, id) # sorts i
print(&quot;-&gt; Create uniq id for diaries (for matching) and persons&quot;)</code></pre>
<pre><code>## [1] &quot;-&gt; Create uniq id for diaries (for matching) and persons&quot;</code></pre>
<pre class="r"><code># Create unique ids ----
ba_MTUScreateIds(mtusUKEpsDT)</code></pre>
mtusUKEpsDT &lt;- ba_MTUScreateIds(mtusUKEpsDT)</code></pre>
<div id="episode-dates" class="section level2">
<h2><span class="header-section-number">3.1</span> Episode dates</h2>
<pre class="r"><code># Check cday - the day the episode starts. It could span midnight (2 days)
......@@ -4008,7 +4015,7 @@ kable(
</tbody>
</table>
<hr />
<p><strong>Meta:</strong> Analysis completed in: 6.662 seconds using <a href="https://cran.r-project.org/package=knitr">knitr</a> in <a href="http://www.rstudio.com">RStudio</a>.</p>
<p><strong>Meta:</strong> Analysis completed in: 26.452 seconds using <a href="https://cran.r-project.org/package=knitr">knitr</a> in <a href="http://www.rstudio.com">RStudio</a>.</p>
</div>
</div>
<div id="references" class="section level1 unnumbered">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment