Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 17, 2023
1 parent 20240a3 commit 3a129dd
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
173bb1d7
bf3476e4
28 changes: 14 additions & 14 deletions materials/2_data_manipulation_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,9 @@ <h2>A different function</h2>
<pre><code># A tibble: 3 × 3
pickup_datetime year trip_distance
&lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;
1 2021-11-16 12:55:00 2021 351613.
2 2021-10-27 17:46:00 2021 345124.
3 2021-12-11 10:48:00 2021 335094.</code></pre>
1 2021-11-16 06:55:00 2021 351613.
2 2021-10-27 11:46:00 2021 345124.
3 2021-12-11 04:48:00 2021 335094.</code></pre>
</div>
</div>
</section>
Expand All @@ -748,9 +748,9 @@ <h2>Or call <code>collect()</code> first</h2>
<pre><code># A tibble: 3 × 3
pickup_datetime year trip_distance
&lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;
1 2021-10-03 16:45:02 2021 134
2 2021-10-03 17:29:35 2021 218.
3 2021-10-03 17:58:15 2021 225.</code></pre>
1 2021-01-03 03:01:26 2021 216.
2 2021-01-03 05:36:52 2021 268.
3 2021-01-06 01:27:55 2021 271.</code></pre>
</div>
</div>
</section>
Expand Down Expand Up @@ -823,7 +823,7 @@ <h2>Using functions inside verbs</h2>
<section id="morning-vs-afternoon-with-namespacing" class="slide level2">
<h2>Morning vs afternoon with namespacing</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb37" data-code-line-numbers="2"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb37-1"><a href="#cb37-1"></a>nyc_taxi <span class="sc">|&gt;</span></span>
<div class="sourceCode cell-code" id="cb37" data-code-line-numbers="3"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb37-1"><a href="#cb37-1"></a>nyc_taxi <span class="sc">|&gt;</span></span>
<span id="cb37-2"><a href="#cb37-2"></a> <span class="fu">group_by</span>(</span>
<span id="cb37-3"><a href="#cb37-3"></a> <span class="at">time_of_day =</span> <span class="fu">ifelse</span>(lubridate<span class="sc">::</span><span class="fu">am</span>(pickup_datetime), <span class="st">"morning"</span>, <span class="st">"afternoon"</span>)</span>
<span id="cb37-4"><a href="#cb37-4"></a> ) <span class="sc">|&gt;</span></span>
Expand All @@ -842,7 +842,7 @@ <h2>Morning vs afternoon with namespacing</h2>
<section id="morning-vs-afternoon---without-namespacing" class="slide level2">
<h2>Morning vs afternoon - without namespacing</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb39" data-code-line-numbers="4"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb39-1"><a href="#cb39-1"></a><span class="fu">library</span>(lubridate)</span>
<div class="sourceCode cell-code" id="cb39" data-code-line-numbers="5"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb39-1"><a href="#cb39-1"></a><span class="fu">library</span>(lubridate)</span>
<span id="cb39-2"><a href="#cb39-2"></a></span>
<span id="cb39-3"><a href="#cb39-3"></a>nyc_taxi <span class="sc">|&gt;</span></span>
<span id="cb39-4"><a href="#cb39-4"></a> <span class="fu">group_by</span>(</span>
Expand Down Expand Up @@ -891,12 +891,12 @@ <h2>Option 1 - find a workaround!</h2>
<pre><code># A tibble: 6 × 24
vendor_name pickup_datetime dropoff_datetime passenger_count
&lt;chr&gt; &lt;dttm&gt; &lt;dttm&gt; &lt;int&gt;
1 &lt;NA&gt; 2012-01-20 14:09:36 2012-01-20 14:42:25 1
2 &lt;NA&gt; 2012-01-20 14:54:10 2012-01-20 15:06:55 1
3 &lt;NA&gt; 2012-01-20 08:08:01 2012-01-20 08:11:02 1
4 &lt;NA&gt; 2012-01-20 08:36:22 2012-01-20 08:39:44 1
5 &lt;NA&gt; 2012-01-20 20:58:32 2012-01-20 21:03:04 1
6 &lt;NA&gt; 2012-01-20 19:40:20 2012-01-20 19:43:43 2
1 &lt;NA&gt; 2012-01-20 08:09:36 2012-01-20 08:42:25 1
2 &lt;NA&gt; 2012-01-20 08:54:10 2012-01-20 09:06:55 1
3 &lt;NA&gt; 2012-01-20 02:08:01 2012-01-20 02:11:02 1
4 &lt;NA&gt; 2012-01-20 02:36:22 2012-01-20 02:39:44 1
5 &lt;NA&gt; 2012-01-20 14:58:32 2012-01-20 15:03:04 1
6 &lt;NA&gt; 2012-01-20 13:40:20 2012-01-20 13:43:43 2
# ℹ 20 more variables: trip_distance &lt;dbl&gt;, pickup_longitude &lt;dbl&gt;,
# pickup_latitude &lt;dbl&gt;, rate_code &lt;chr&gt;, store_and_fwd &lt;chr&gt;,
# dropoff_longitude &lt;dbl&gt;, dropoff_latitude &lt;dbl&gt;, payment_type &lt;chr&gt;,
Expand Down
6 changes: 3 additions & 3 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -802,14 +802,14 @@
"href": "materials/2_data_manipulation_1.html#a-different-function",
"title": "Big Data in R with Arrow",
"section": "A different function",
"text": "A different function\n\nlong_rides_2021 |&gt;\n slice_max(n = 3, order_by = trip_distance, with_ties = FALSE) |&gt;\n collect()\n\n# A tibble: 3 × 3\n pickup_datetime year trip_distance\n &lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;\n1 2021-11-16 12:55:00 2021 351613.\n2 2021-10-27 17:46:00 2021 345124.\n3 2021-12-11 10:48:00 2021 335094."
"text": "A different function\n\nlong_rides_2021 |&gt;\n slice_max(n = 3, order_by = trip_distance, with_ties = FALSE) |&gt;\n collect()\n\n# A tibble: 3 × 3\n pickup_datetime year trip_distance\n &lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;\n1 2021-11-16 06:55:00 2021 351613.\n2 2021-10-27 11:46:00 2021 345124.\n3 2021-12-11 04:48:00 2021 335094."
},
{
"objectID": "materials/2_data_manipulation_1.html#or-call-collect-first",
"href": "materials/2_data_manipulation_1.html#or-call-collect-first",
"title": "Big Data in R with Arrow",
"section": "Or call collect() first",
"text": "Or call collect() first\n\nlong_rides_2021 |&gt;\n collect() |&gt;\n slice(1:3)\n\n# A tibble: 3 × 3\n pickup_datetime year trip_distance\n &lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;\n1 2021-10-03 16:45:02 2021 134 \n2 2021-10-03 17:29:35 2021 218.\n3 2021-10-03 17:58:15 2021 225."
"text": "Or call collect() first\n\nlong_rides_2021 |&gt;\n collect() |&gt;\n slice(1:3)\n\n# A tibble: 3 × 3\n pickup_datetime year trip_distance\n &lt;dttm&gt; &lt;int&gt; &lt;dbl&gt;\n1 2021-01-03 03:01:26 2021 216.\n2 2021-01-03 05:36:52 2021 268.\n3 2021-01-06 01:27:55 2021 271."
},
{
"objectID": "materials/2_data_manipulation_1.html#tidyr-functions---pivot",
Expand Down Expand Up @@ -872,7 +872,7 @@
"href": "materials/2_data_manipulation_1.html#option-1---find-a-workaround",
"title": "Big Data in R with Arrow",
"section": "Option 1 - find a workaround!",
"text": "Option 1 - find a workaround!\n\nnyc_taxi |&gt;\n mutate(vendor_name = ifelse(vendor_name == \"CMT\", NA, vendor_name)) |&gt;\n head() |&gt;\n collect()\n\n# A tibble: 6 × 24\n vendor_name pickup_datetime dropoff_datetime passenger_count\n &lt;chr&gt; &lt;dttm&gt; &lt;dttm&gt; &lt;int&gt;\n1 &lt;NA&gt; 2012-01-20 14:09:36 2012-01-20 14:42:25 1\n2 &lt;NA&gt; 2012-01-20 14:54:10 2012-01-20 15:06:55 1\n3 &lt;NA&gt; 2012-01-20 08:08:01 2012-01-20 08:11:02 1\n4 &lt;NA&gt; 2012-01-20 08:36:22 2012-01-20 08:39:44 1\n5 &lt;NA&gt; 2012-01-20 20:58:32 2012-01-20 21:03:04 1\n6 &lt;NA&gt; 2012-01-20 19:40:20 2012-01-20 19:43:43 2\n# ℹ 20 more variables: trip_distance &lt;dbl&gt;, pickup_longitude &lt;dbl&gt;,\n# pickup_latitude &lt;dbl&gt;, rate_code &lt;chr&gt;, store_and_fwd &lt;chr&gt;,\n# dropoff_longitude &lt;dbl&gt;, dropoff_latitude &lt;dbl&gt;, payment_type &lt;chr&gt;,\n# fare_amount &lt;dbl&gt;, extra &lt;dbl&gt;, mta_tax &lt;dbl&gt;, tip_amount &lt;dbl&gt;,\n# tolls_amount &lt;dbl&gt;, total_amount &lt;dbl&gt;, improvement_surcharge &lt;dbl&gt;,\n# congestion_surcharge &lt;dbl&gt;, pickup_location_id &lt;int&gt;,\n# dropoff_location_id &lt;int&gt;, year &lt;int&gt;, month &lt;int&gt;"
"text": "Option 1 - find a workaround!\n\nnyc_taxi |&gt;\n mutate(vendor_name = ifelse(vendor_name == \"CMT\", NA, vendor_name)) |&gt;\n head() |&gt;\n collect()\n\n# A tibble: 6 × 24\n vendor_name pickup_datetime dropoff_datetime passenger_count\n &lt;chr&gt; &lt;dttm&gt; &lt;dttm&gt; &lt;int&gt;\n1 &lt;NA&gt; 2012-01-20 08:09:36 2012-01-20 08:42:25 1\n2 &lt;NA&gt; 2012-01-20 08:54:10 2012-01-20 09:06:55 1\n3 &lt;NA&gt; 2012-01-20 02:08:01 2012-01-20 02:11:02 1\n4 &lt;NA&gt; 2012-01-20 02:36:22 2012-01-20 02:39:44 1\n5 &lt;NA&gt; 2012-01-20 14:58:32 2012-01-20 15:03:04 1\n6 &lt;NA&gt; 2012-01-20 13:40:20 2012-01-20 13:43:43 2\n# ℹ 20 more variables: trip_distance &lt;dbl&gt;, pickup_longitude &lt;dbl&gt;,\n# pickup_latitude &lt;dbl&gt;, rate_code &lt;chr&gt;, store_and_fwd &lt;chr&gt;,\n# dropoff_longitude &lt;dbl&gt;, dropoff_latitude &lt;dbl&gt;, payment_type &lt;chr&gt;,\n# fare_amount &lt;dbl&gt;, extra &lt;dbl&gt;, mta_tax &lt;dbl&gt;, tip_amount &lt;dbl&gt;,\n# tolls_amount &lt;dbl&gt;, total_amount &lt;dbl&gt;, improvement_surcharge &lt;dbl&gt;,\n# congestion_surcharge &lt;dbl&gt;, pickup_location_id &lt;int&gt;,\n# dropoff_location_id &lt;int&gt;, year &lt;int&gt;, month &lt;int&gt;"
},
{
"objectID": "materials/2_data_manipulation_1.html#option-2",
Expand Down
34 changes: 17 additions & 17 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,70 +2,70 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://github.com/posit-conf-2023/arrow/setup.html</loc>
<lastmod>2023-09-16T23:16:09.558Z</lastmod>
<lastmod>2023-09-17T10:16:07.082Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/7_continue_learning.html</loc>
<lastmod>2023-09-16T23:16:08.386Z</lastmod>
<lastmod>2023-09-17T10:16:05.946Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/5_arrow_single_file.html</loc>
<lastmod>2023-09-16T23:16:07.610Z</lastmod>
<lastmod>2023-09-17T10:16:05.162Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/4_data_manipulation_2.html</loc>
<lastmod>2023-09-16T23:16:06.410Z</lastmod>
<lastmod>2023-09-17T10:16:03.974Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/3_data_engineering.html</loc>
<lastmod>2023-09-16T23:16:04.870Z</lastmod>
<lastmod>2023-09-17T10:16:02.550Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/2_data_manipulation_1.html</loc>
<lastmod>2023-09-16T23:16:03.250Z</lastmod>
<lastmod>2023-09-17T10:16:00.954Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/1_hello_arrow.html</loc>
<lastmod>2023-09-16T23:16:01.782Z</lastmod>
<lastmod>2023-09-17T10:15:59.562Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/0_housekeeping.html</loc>
<lastmod>2023-09-16T23:16:00.166Z</lastmod>
<lastmod>2023-09-17T10:15:56.978Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/index.html</loc>
<lastmod>2023-09-16T23:15:58.002Z</lastmod>
<lastmod>2023-09-17T10:15:53.714Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/license-web.html</loc>
<lastmod>2023-09-16T23:15:58.670Z</lastmod>
<lastmod>2023-09-17T10:15:54.438Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/1_hello_arrow-exercises.html</loc>
<lastmod>2023-09-16T23:16:01.130Z</lastmod>
<lastmod>2023-09-17T10:15:57.922Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/2_data_manipulation_1-exercises.html</loc>
<lastmod>2023-09-16T23:16:02.450Z</lastmod>
<lastmod>2023-09-17T10:16:00.218Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/3_data_engineering-exercises.html</loc>
<lastmod>2023-09-16T23:16:04.022Z</lastmod>
<lastmod>2023-09-17T10:16:01.726Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/4_data_manipulation_2-exercises.html</loc>
<lastmod>2023-09-16T23:16:05.654Z</lastmod>
<lastmod>2023-09-17T10:16:03.242Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/5_arrow_single_file-exercises.html</loc>
<lastmod>2023-09-16T23:16:07.018Z</lastmod>
<lastmod>2023-09-17T10:16:04.546Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/6_wrapping_up.html</loc>
<lastmod>2023-09-16T23:16:08.110Z</lastmod>
<lastmod>2023-09-17T10:16:05.670Z</lastmod>
</url>
<url>
<loc>https://github.com/posit-conf-2023/arrow/materials/8_closing.html</loc>
<lastmod>2023-09-16T23:16:08.706Z</lastmod>
<lastmod>2023-09-17T10:16:06.238Z</lastmod>
</url>
</urlset>

0 comments on commit 3a129dd

Please sign in to comment.