Skip to content

Commit c622fa5

Browse files
committed
clarify which version of R to use
1 parent eee3035 commit c622fa5

11 files changed

+77
-174
lines changed

90-test-cdw.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You also want to make sure you're using the correct version of R. Here are the s
6262
`r knitr::include_graphics("images/options.png")`
6363
</p></center>
6464

65-
2) The top box tells you the R version you're using. Click on the "Change.." button and make sure "[32-bit] C:\\Program Files\\R\\R-3.3.1" is selected. It looks like this:
65+
2) The top box tells you the R version you're using. Click on the "Change.." button. There may be multiple versions of R available, pick the latest one, but pick the "[32-bit]" one. As of this September 2017, the version you should pick is "[32-bit] C:\\Program Files\\R\\R-3.4.1" Depending on when you are reading this, you may have a later version of R available -- use that, just be sure to pick the version that is "[32-bit]"
6666

6767
<p><center>
6868
`r knitr::include_graphics("images/version.png")`

docs/cheat-sheet.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ <h2><span class="header-section-number">B.2</span> Output</h2>
255255
<p>Use <code>display</code> for output. Recall that you can use the equals sign <code>=</code> to assign names to your disco engine definitions, to make it easier to refer to them when <code>display</code>ing or doing other operations:</p>
256256
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">basketball_player =<span class="st"> </span><span class="kw">played_sport</span>(basketball_men, basketball_women)
257257
<span class="kw">display</span>(basketball_player)</code></pre></div>
258-
<pre><code>## # A tibble: 460 x 1
258+
<pre><code>## # A tibble: 466 x 1
259259
## entity_id
260260
## &lt;dbl&gt;
261261
## 1 370
@@ -268,7 +268,7 @@ <h2><span class="header-section-number">B.2</span> Output</h2>
268268
## 8 6882
269269
## 9 7539
270270
## 10 7659
271-
## # ... with 450 more rows</code></pre>
271+
## # ... with 456 more rows</code></pre>
272272
<p>If instead of just viewing IDs on the screen, you’d like to export them (perhaps to use in a CADS savedlist), just add a filename: <code>display(basketball_player, file = &quot;basketball-players&quot;)</code> and a file called “basketball-players.csv” will appear in your working directory. <em>Note that the exported file has a header, so when you upload it to an Advance savedlist, make sure to check the “First row is a header” box.</em></p>
273273
</div>
274274
<div id="code-lookup" class="section level2">

docs/ex-near-builder.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ <h2><span class="header-section-number">17.2</span> Householding</h2>
275275
## entity_id
276276
## &lt;dbl&gt;
277277
## 1 9763
278-
## 2 508590
279-
## 3 8872
280-
## 4 15771
281-
## 5 132374
282-
## 6 420352
283-
## 7 653365
284-
## 8 1346
285-
## 9 22996
286-
## 10 10342
278+
## 2 8872
279+
## 3 599596
280+
## 4 24008
281+
## 5 24360
282+
## 6 22476
283+
## 7 301322
284+
## 8 290519
285+
## 9 334903
286+
## 10 3121934
287287
## # ... with 36 more rows</code></pre>
288288

289289
</div>

docs/how-it-works.html

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -301,33 +301,33 @@ <h2><span class="header-section-number">C.2</span> A template as a data structur
301301
<pre><code>## # A tibble: 3,499 x 1
302302
## entity_id
303303
## &lt;dbl&gt;
304-
## 1 453620
305-
## 2 473959
306-
## 3 465894
307-
## 4 466076
308-
## 5 432695
309-
## 6 457174
310-
## 7 455819
311-
## 8 468510
312-
## 9 473481
313-
## 10 281466
304+
## 1 394075
305+
## 2 370072
306+
## 3 431373
307+
## 4 103174
308+
## 5 281461
309+
## 6 417662
310+
## 7 268592
311+
## 8 261435
312+
## 9 174865
313+
## 10 12118
314314
## # ... with 3,489 more rows</code></pre>
315315
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">## and we can use multiple affiliations:
316316
is_constituent =<span class="st"> </span><span class="kw">has_affiliation</span>(<span class="kw">c</span>(<span class="st">&quot;M2&quot;</span>, <span class="st">&quot;MA4&quot;</span>))
317317
<span class="kw">display</span>(is_constituent)</code></pre></div>
318318
<pre><code>## # A tibble: 2,682 x 1
319319
## entity_id
320320
## &lt;dbl&gt;
321-
## 1 598871
322-
## 2 299736
323-
## 3 296521
324-
## 4 296920
325-
## 5 307301
326-
## 6 306174
327-
## 7 279252
328-
## 8 510122
329-
## 9 510171
330-
## 10 227680
321+
## 1 371389
322+
## 2 402346
323+
## 3 3096855
324+
## 4 3189310
325+
## 5 807670
326+
## 6 999092
327+
## 7 876257
328+
## 8 306719
329+
## 9 26066
330+
## 10 8968
331331
## # ... with 2,672 more rows</code></pre>
332332
<p>Ok! So we’ve now implemented basic widget functionality. We still have a couple of outstanding issues:</p>
333333
<ol style="list-style-type: decimal">
@@ -356,16 +356,16 @@ <h2><span class="header-section-number">C.3</span> Non-standard evaluation</h2>
356356
<pre><code>## # A tibble: 2,682 x 1
357357
## entity_id
358358
## &lt;dbl&gt;
359-
## 1 598871
360-
## 2 299736
361-
## 3 296521
362-
## 4 296920
363-
## 5 307301
364-
## 6 306174
365-
## 7 279252
366-
## 8 510122
367-
## 9 510171
368-
## 10 227680
359+
## 1 371389
360+
## 2 402346
361+
## 3 3096855
362+
## 4 3189310
363+
## 5 807670
364+
## 6 999092
365+
## 7 876257
366+
## 8 306719
367+
## 9 26066
368+
## 10 8968
369369
## # ... with 2,672 more rows</code></pre>
370370
<p><em>Note that the actual package is a little bit more careful about how it does things here, by using the <a href="https://cran.r-project.org/web/packages/lazyeval/index.html">lazyeval package</a>. To see the actual code used in the Disco Engine, check out <code>prep_dots</code> and <code>partial_sub</code> in <a href="https://github.com/tarakc02/discoveryengine/blob/master/R/helper-utils.R">this discoveryengine source code file</a></em></p>
371371
</div>

docs/images/version.png

2.58 KB
Loading

docs/intro-example.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,26 +272,26 @@ <h2><span class="header-section-number">5.3</span> Send the definition to the CD
272272
<p>As we discussed in the previous section, now that we have an official definition we can send it to the data warehouse, and see if the data warehouse finds anyone who fits. You can see the definition for yourself by just typing the name of it, though it is now written in a language for the computer to understand and may look intimidating to us humans:</p>
273273
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">event_prospect</code></pre></div>
274274
<pre><code>## LISTBUILDER DEFINITION (type: entity_id)
275-
## . operator (RU91): intersect
276-
## . left (RU91):
277-
## . . operator (AE61): union
278-
## . . left (AE61):
275+
## . operator (BR08): intersect
276+
## . left (BR08):
277+
## . . operator (FG80): union
278+
## . . left (FG80):
279279
## . . . source: d_bio_interest_mv.entity_id (entity_id)
280280
## . . . logic: interest_code IN (&#39;TEC&#39;)
281-
## . . right (AE61):
281+
## . . right (FG80):
282282
## . . . source: d_oth_phil_affinity_mv.entity_id (entity_id)
283283
## . . . logic:
284284
## . . . . other_affinity_type IN (&#39;ST&#39;)
285285
## . . . . sum(gift_amt) &gt;= 0.0
286-
## . right (RU91):
287-
## . . operator (ZX98): union
288-
## . . left (ZX98):
286+
## . right (BR08):
287+
## . . operator (MC74): union
288+
## . . left (MC74):
289289
## . . . source: d_bio_address_mv.entity_id (entity_id)
290290
## . . . logic:
291291
## . . . . geo_metro_area_code IN (&#39;41860&#39;)
292292
## . . . . addr_type_code IN (&#39;H&#39;)
293293
## . . . . contact_type_desc IN (&#39;ADDRESS&#39;)
294-
## . . right (ZX98):
294+
## . . right (MC74):
295295
## . . . source: d_bio_address_mv.entity_id (entity_id)
296296
## . . . logic:
297297
## . . . . geo_metro_area_code IN (&#39;41860&#39;)

0 commit comments

Comments
 (0)