Browse Source

Rebuild everything

master
Lukas Burk 2 years ago
parent
commit
7269ffe8cb
4 changed files with 33 additions and 33 deletions
  1. +25
    -25
      docs/articles/ocarina-of-time-100-.html
  2. BIN
     
  3. BIN
     
  4. +8
    -8
      docs/index.html

+ 25
- 25
docs/articles/ocarina-of-time-100-.html View File

@@ -134,26 +134,26 @@
<a class="sourceLine" id="cb3-4" data-line-number="4">oot100 &lt;-<span class="st"> </span><span class="kw"><a href="../reference/get_runs.html">get_runs</a></span>(<span class="dt">game =</span> <span class="st">"j1l9qz1g"</span>, <span class="dt">category =</span> <span class="st">"q255jw2o"</span>, <span class="dt">max =</span> <span class="ot">Inf</span>)</a></code></pre></div>
<p>Note that I’m useing <code>max = Inf</code> to make sure I get <em>all</em> the runs.</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="kw">str</span>(oot100)</a>
<a class="sourceLine" id="cb4-2" data-line-number="2"><span class="co">#&gt; Classes 'tbl_df', 'tbl' and 'data.frame': 504 obs. of 22 variables:</span></a>
<a class="sourceLine" id="cb4-3" data-line-number="3"><span class="co">#&gt; $ id : chr "y2q5l35y" "m3o52kwm" "y892o4dm" "zq3wddxy" ...</span></a>
<a class="sourceLine" id="cb4-4" data-line-number="4"><span class="co">#&gt; $ weblink : chr "https://www.speedrun.com/oot/run/y2q5l35y" "https://www.speedrun.com/oot/run/m3o52kwm" "https://www.speedrun.com/oot/run/y892o4dm" "https://www.speedrun.com/oot/run/zq3wddxy" ...</span></a>
<a class="sourceLine" id="cb4-2" data-line-number="2"><span class="co">#&gt; Classes 'tbl_df', 'tbl' and 'data.frame': 505 obs. of 22 variables:</span></a>
<a class="sourceLine" id="cb4-3" data-line-number="3"><span class="co">#&gt; $ id : chr "y89rqq1m" "y2q5l35y" "m3o52kwm" "y892o4dm" ...</span></a>
<a class="sourceLine" id="cb4-4" data-line-number="4"><span class="co">#&gt; $ weblink : chr "https://www.speedrun.com/oot/run/y89rqq1m" "https://www.speedrun.com/oot/run/y2q5l35y" "https://www.speedrun.com/oot/run/m3o52kwm" "https://www.speedrun.com/oot/run/y892o4dm" ...</span></a>
<a class="sourceLine" id="cb4-5" data-line-number="5"><span class="co">#&gt; $ game : chr "j1l9qz1g" "j1l9qz1g" "j1l9qz1g" "j1l9qz1g" ...</span></a>
<a class="sourceLine" id="cb4-6" data-line-number="6"><span class="co">#&gt; $ level : logi NA NA NA NA NA NA ...</span></a>
<a class="sourceLine" id="cb4-7" data-line-number="7"><span class="co">#&gt; $ category : chr "q255jw2o" "q255jw2o" "q255jw2o" "q255jw2o" ...</span></a>
<a class="sourceLine" id="cb4-8" data-line-number="8"><span class="co">#&gt; $ videos : chr "https://www.youtube.com/watch?v=KC5nDHK9ipY" "https://www.youtube.com/watch?v=N8vs_cCeekM" "https://youtu.be/tgb6vU3KAgE" "https://youtu.be/VFZh_V_zatU" ...</span></a>
<a class="sourceLine" id="cb4-8" data-line-number="8"><span class="co">#&gt; $ videos : chr "https://www.twitch.tv/cma_jp/video/293368527" "https://www.youtube.com/watch?v=KC5nDHK9ipY" "https://www.youtube.com/watch?v=N8vs_cCeekM" "https://youtu.be/tgb6vU3KAgE" ...</span></a>
<a class="sourceLine" id="cb4-9" data-line-number="9"><span class="co">#&gt; $ status : chr "verified" "verified" "verified" "verified" ...</span></a>
<a class="sourceLine" id="cb4-10" data-line-number="10"><span class="co">#&gt; $ comment : chr "Video footage was cut during KD's fight, I messed up with OBS while trying to stop my \"footage only\" recordin"| __truncated__ "1st try dampe" "6th dampe, decent fishing" "Second run on new equip dupe route, and I got pb twice in the day!" ...</span></a>
<a class="sourceLine" id="cb4-11" data-line-number="11"><span class="co">#&gt; $ player_id : chr "v819rrxp" "e8e5v680" "zxz9r448" "68wq9z8g" ...</span></a>
<a class="sourceLine" id="cb4-12" data-line-number="12"><span class="co">#&gt; $ player_url : chr "https://www.speedrun.com/user/Marco" "https://www.speedrun.com/user/zfg" "https://www.speedrun.com/user/Fig02" "https://www.speedrun.com/user/Cma" ...</span></a>
<a class="sourceLine" id="cb4-13" data-line-number="13"><span class="co">#&gt; $ player_name : chr "Marco" "zfg" "Fig02" "Cma" ...</span></a>
<a class="sourceLine" id="cb4-10" data-line-number="10"><span class="co">#&gt; $ comment : chr "So bad run. 7th dampe" "Video footage was cut during KD's fight, I messed up with OBS while trying to stop my \"footage only\" recordin"| __truncated__ "1st try dampe" "6th dampe, decent fishing" ...</span></a>
<a class="sourceLine" id="cb4-11" data-line-number="11"><span class="co">#&gt; $ player_id : chr "68wq9z8g" "v819rrxp" "e8e5v680" "zxz9r448" ...</span></a>
<a class="sourceLine" id="cb4-12" data-line-number="12"><span class="co">#&gt; $ player_url : chr "https://www.speedrun.com/user/Cma" "https://www.speedrun.com/user/Marco" "https://www.speedrun.com/user/zfg" "https://www.speedrun.com/user/Fig02" ...</span></a>
<a class="sourceLine" id="cb4-13" data-line-number="13"><span class="co">#&gt; $ player_name : chr "Cma" "Marco" "zfg" "Fig02" ...</span></a>
<a class="sourceLine" id="cb4-14" data-line-number="14"><span class="co">#&gt; $ player_role : chr "user" "user" "user" "user" ...</span></a>
<a class="sourceLine" id="cb4-15" data-line-number="15"><span class="co">#&gt; $ player_signup : POSIXct, format: "2015-02-17 18:25:39" "2015-02-17 03:55:57" ...</span></a>
<a class="sourceLine" id="cb4-16" data-line-number="16"><span class="co">#&gt; $ date : Date, format: "2018-08-04" "2018-08-01" ...</span></a>
<a class="sourceLine" id="cb4-17" data-line-number="17"><span class="co">#&gt; $ submitted : POSIXct, format: "2018-08-04 04:03:15" "2018-08-02 02:15:56" ...</span></a>
<a class="sourceLine" id="cb4-18" data-line-number="18"><span class="co">#&gt; $ time_primary : int 14620 14325 15412 16231 15471 14465 15689 15586 14843 20589 ...</span></a>
<a class="sourceLine" id="cb4-19" data-line-number="19"><span class="co">#&gt; $ time_realtime : int 14620 14325 15412 16231 15471 14465 15689 15586 14843 20589 ...</span></a>
<a class="sourceLine" id="cb4-15" data-line-number="15"><span class="co">#&gt; $ player_signup : POSIXct, format: "2015-02-20 17:09:08" "2015-02-17 18:25:39" ...</span></a>
<a class="sourceLine" id="cb4-16" data-line-number="16"><span class="co">#&gt; $ date : Date, format: "2018-08-05" "2018-08-04" ...</span></a>
<a class="sourceLine" id="cb4-17" data-line-number="17"><span class="co">#&gt; $ submitted : POSIXct, format: "2018-08-05 10:25:56" "2018-08-04 04:03:15" ...</span></a>
<a class="sourceLine" id="cb4-18" data-line-number="18"><span class="co">#&gt; $ time_primary : int 16212 14620 14325 15412 16231 15471 14465 15689 15586 14843 ...</span></a>
<a class="sourceLine" id="cb4-19" data-line-number="19"><span class="co">#&gt; $ time_realtime : int 16212 14620 14325 15412 16231 15471 14465 15689 15586 14843 ...</span></a>
<a class="sourceLine" id="cb4-20" data-line-number="20"><span class="co">#&gt; $ time_ingame : int 0 0 0 0 0 0 0 0 0 0 ...</span></a>
<a class="sourceLine" id="cb4-21" data-line-number="21"><span class="co">#&gt; $ time_hms : 'hms' num 04:03:40 03:58:45 04:16:52 04:30:31 ...</span></a>
<a class="sourceLine" id="cb4-21" data-line-number="21"><span class="co">#&gt; $ time_hms : 'hms' num 04:30:12 04:03:40 03:58:45 04:16:52 ...</span></a>
<a class="sourceLine" id="cb4-22" data-line-number="22"><span class="co">#&gt; ..- attr(*, "units")= chr "secs"</span></a>
<a class="sourceLine" id="cb4-23" data-line-number="23"><span class="co">#&gt; $ system_platform: chr "nzelreqp" "nzelreqp" "nzelreqp" "nzelreqp" ...</span></a>
<a class="sourceLine" id="cb4-24" data-line-number="24"><span class="co">#&gt; $ system_emulated: logi FALSE FALSE FALSE FALSE FALSE FALSE ...</span></a>
@@ -293,13 +293,13 @@
<a class="sourceLine" id="cb7-5" data-line-number="5"> date <span class="op">&gt;=</span><span class="st"> </span><span class="kw"><a href="http://lubridate.tidyverse.org/reference/ymd.html">ymd</a></span>(<span class="st">"2018-01-01"</span>)) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-6" data-line-number="6"><span class="st"> </span><span class="kw"><a href="http://dplyr.tidyverse.org/reference/select.html">select</a></span>(player_name, time_hms, date)</a>
<a class="sourceLine" id="cb7-7" data-line-number="7"></a>
<a class="sourceLine" id="cb7-8" data-line-number="8"> <span class="kw"><a href="http://dplyr.tidyverse.org/reference/bind.html">bind_rows</a></span>(</a>
<a class="sourceLine" id="cb7-9" data-line-number="9"> tmp,</a>
<a class="sourceLine" id="cb7-10" data-line-number="10"> tmp <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-11" data-line-number="11"><span class="st"> </span><span class="kw"><a href="http://dplyr.tidyverse.org/reference/group_by.html">group_by</a></span>(player_name) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-12" data-line-number="12"><span class="st"> </span><span class="kw"><a href="http://dplyr.tidyverse.org/reference/summarise.html">summarize</a></span>(<span class="dt">time_hms =</span> <span class="kw">min</span>(time_hms), <span class="dt">date =</span> <span class="kw"><a href="http://lubridate.tidyverse.org/reference/today.html">today</a></span>()) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-13" data-line-number="13"><span class="st"> </span>ungroup</a>
<a class="sourceLine" id="cb7-14" data-line-number="14"> ) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-8" data-line-number="8"><span class="kw"><a href="http://dplyr.tidyverse.org/reference/bind.html">bind_rows</a></span>(</a>
<a class="sourceLine" id="cb7-9" data-line-number="9"> tmp,</a>
<a class="sourceLine" id="cb7-10" data-line-number="10"> tmp <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-11" data-line-number="11"><span class="st"> </span><span class="kw"><a href="http://dplyr.tidyverse.org/reference/group_by.html">group_by</a></span>(player_name) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-12" data-line-number="12"><span class="st"> </span><span class="kw"><a href="http://dplyr.tidyverse.org/reference/summarise.html">summarize</a></span>(<span class="dt">time_hms =</span> <span class="kw">min</span>(time_hms), <span class="dt">date =</span> <span class="kw"><a href="http://lubridate.tidyverse.org/reference/today.html">today</a></span>()) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-13" data-line-number="13"><span class="st"> </span>ungroup</a>
<a class="sourceLine" id="cb7-14" data-line-number="14">) <span class="op">%&gt;%</span></a>
<a class="sourceLine" id="cb7-15" data-line-number="15"><span class="st"> </span>{</a>
<a class="sourceLine" id="cb7-16" data-line-number="16"> <span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/ggplot">ggplot</a></span>(., <span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/aes">aes</a></span>(date, time_hms, <span class="dt">color =</span> player_name, <span class="dt">fill =</span> player_name)) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-17" data-line-number="17"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/geom_point">geom_point</a></span>(<span class="dt">size =</span> <span class="dv">1</span>, <span class="dt">alpha =</span> <span class="fl">.75</span>) <span class="op">+</span></a>
@@ -312,14 +312,14 @@
<a class="sourceLine" id="cb7-24" data-line-number="24"> <span class="dt">hjust =</span> <span class="dv">1</span>, <span class="dt">direction =</span> <span class="st">"y"</span>, <span class="dt">nudge_x =</span> <span class="dv">60</span><span class="op">^</span><span class="dv">2</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-25" data-line-number="25"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/scale_date">scale_x_date</a></span>(<span class="dt">date_breaks =</span> <span class="st">"1 month"</span>, <span class="dt">date_labels =</span> <span class="st">"%b '%y"</span>,</a>
<a class="sourceLine" id="cb7-26" data-line-number="26"> <span class="dt">limits =</span> <span class="kw">c</span>(<span class="kw">as.Date</span>(<span class="ot">NA</span>), <span class="kw"><a href="http://lubridate.tidyverse.org/reference/today.html">today</a></span>() <span class="op">+</span><span class="st"> </span><span class="kw"><a href="http://lubridate.tidyverse.org/reference/period.html">days</a></span>(<span class="dv">45</span>))) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-27" data-line-number="27"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/scale_date">scale_y_time</a></span>(<span class="dt">breaks =</span> <span class="kw">seq</span>(<span class="dv">2</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">20</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">1</span><span class="op">/</span><span class="dv">12</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>),</a>
<a class="sourceLine" id="cb7-28" data-line-number="28"> <span class="dt">minor_breaks =</span> <span class="kw">seq</span>(<span class="dv">2</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">20</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">1</span><span class="op">/</span><span class="dv">24</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-27" data-line-number="27"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/scale_date">scale_y_time</a></span>(<span class="dt">breaks =</span> <span class="kw">seq</span>(<span class="dv">0</span>, <span class="dv">20</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">1</span><span class="op">/</span><span class="dv">12</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>),</a>
<a class="sourceLine" id="cb7-28" data-line-number="28"> <span class="dt">minor_breaks =</span> <span class="kw">seq</span>(<span class="dv">0</span>, <span class="dv">20</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span><span class="op">^</span><span class="dv">2</span>, <span class="dv">1</span><span class="op">/</span><span class="dv">24</span> <span class="op">*</span><span class="st"> </span><span class="dv">60</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-29" data-line-number="29"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/scale_brewer">scale_color_brewer</a></span>(<span class="dt">palette =</span> <span class="st">"Dark2"</span>, <span class="dt">guide =</span> F) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-30" data-line-number="30"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/scale_brewer">scale_fill_brewer</a></span>(<span class="dt">palette =</span> <span class="st">"Dark2"</span>, <span class="dt">guide =</span> F) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-31" data-line-number="31"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/labs">labs</a></span>(<span class="dt">title =</span> <span class="st">"Ocarina of Time: 100% Speedruns in 2018"</span>,</a>
<a class="sourceLine" id="cb7-32" data-line-number="32"> <span class="dt">subtitle =</span> <span class="kw">paste0</span>(<span class="st">"All data from speedrun.com (n = "</span>, <span class="kw">nrow</span>(.), <span class="st">")"</span>),</a>
<a class="sourceLine" id="cb7-32" data-line-number="32"> <span class="dt">subtitle =</span> <span class="kw">paste0</span>(<span class="st">"All data from speedrun.com (n = "</span>, <span class="kw">nrow</span>(tmp), <span class="st">")"</span>),</a>
<a class="sourceLine" id="cb7-33" data-line-number="33"> <span class="dt">x =</span> <span class="st">"Date of Run"</span>, <span class="dt">y =</span> <span class="st">"Time"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-34" data-line-number="34"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/hrbrthemes/topics/theme_ipsum">theme_ipsum</a></span>(<span class="dt">grid =</span> <span class="st">"x"</span>)</a>
<a class="sourceLine" id="cb7-34" data-line-number="34"><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/hrbrthemes/topics/theme_ipsum">theme_ipsum</a></span>(<span class="dt">grid =</span> <span class="st">"X"</span>) <span class="op">+</span><span class="st"> </span><span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/theme">theme</a></span>(<span class="dt">axis.text.x =</span> <span class="kw"><a href="http://www.rdocumentation.org/packages/ggplot2/topics/element">element_text</a></span>(<span class="dt">hjust =</span> <span class="dv">0</span>))</a>
<a class="sourceLine" id="cb7-35" data-line-number="35"> }</a></code></pre></div>
<p><img src="ocarina-of-time-100-_files/figure-html/oot_100_recents-1.png" width="1152"></p>
</div>


BIN
View File


BIN
View File


+ 8
- 8
docs/index.html View File

@@ -535,27 +535,27 @@ Let’s get started:</p>
</tr></thead>
<tbody>
<tr class="odd">
<td align="right">14620</td>
<td align="right">18841</td>
<td align="left">JPN / NTSC</td>
<td align="left">Wii Virtual Console</td>
<td align="left">Nintendo 64</td>
</tr>
<tr class="even">
<td align="right">19593</td>
<td align="right">17671</td>
<td align="left">JPN / NTSC</td>
<td align="left">Nintendo 64</td>
</tr>
<tr class="odd">
<td align="right">14604</td>
<td align="right">19913</td>
<td align="left">JPN / NTSC</td>
<td align="left">Wii Virtual Console</td>
<td align="left">Nintendo 64</td>
</tr>
<tr class="even">
<td align="right">23467</td>
<td align="right">15032</td>
<td align="left">JPN / NTSC</td>
<td align="left">Nintendo 64</td>
<td align="left">Wii Virtual Console</td>
</tr>
<tr class="odd">
<td align="right">15714</td>
<td align="right">16136</td>
<td align="left">JPN / NTSC</td>
<td align="left">Wii Virtual Console</td>
</tr>


Loading…
Cancel
Save