-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.xml
691 lines (576 loc) · 69.1 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>R-Ladies Chicago on R-Ladies Chicago</title>
<link>/</link>
<description>Recent content in R-Ladies Chicago on R-Ladies Chicago</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>&copy; 2018</copyright>
<lastBuildDate>Wed, 09 May 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="/" rel="self" type="application/rss+xml" />
<item>
<title>An Antarctic Tour of the Tidyverse</title>
<link>/talk/2020-08-31-meetup/</link>
<pubDate>Tue, 25 Aug 2020 00:00:00 -0500</pubDate>
<guid>/talk/2020-08-31-meetup/</guid>
<description>
<h2 id="about">About</h2>
<p>&lsquo;
Learn how to explore and manipulate data in R with packages from the Tidyverse. We&rsquo;ll introduce the 8 core packages (<a href="https://www.tidyverse.org/packages/" target="_blank">https://www.tidyverse.org/packages/</a>) that make up the Tidyverse and use at least one function from each package while exploring a dataset on the migration of penguins.</p>
<p>Information about the Speaker:</p>
<p>Dr. Silvia Canelón is a postdoctoral research scientist in biomedical informatics at the University of Pennsylvania in Philadelphia. She uses data science in the public and population health fields and is particularly interested in leveraging electronic health record data to study reproductive health outcomes. Silvia is formally trained as a biomedical engineer and holds her bachelor’s degree from the University of Minnesota and her doctoral degree from Purdue University. She loves community organizing and is currently pursuing the RStudio Instructor Certification as a way to help build power in her communities. Website: <a href="https://silvia.rbind.io/" target="_blank">https://silvia.rbind.io/</a></p>
<p>Location:
Zoom link will be emailed a day before the event.</p>
<h2 id="prerequisites">Prerequisites:</h2>
<p>We ask that R-Ladies who are interested in this event please sign up for a free R Studio Cloud account. This will be the easiest route to follow along with the workshop.</p>
<ul>
<li><a href="https://rstudio.cloud/" target="_blank">https://rstudio.cloud/</a></li>
</ul>
<p>You can also follow along on your own computer as well. Note that help will be limited if you run into issues.</p>
<p>Install the following if you would rather follow along on your local computer.:</p>
<ul>
<li><p>R:
<a href="https://www.r-project.org/" target="_blank">https://www.r-project.org/</a></p></li>
<li><p>R Studio:
<a href="https://rstudio.com/products/rstudio/download/" target="_blank">https://rstudio.com/products/rstudio/download/</a></p></li>
</ul>
<p>Skill Level:
None. All levels are welcomed.</p>
<h2 id="schedule">Schedule</h2>
<p>5:30 - 6:00 &ndash; Networking and Technical help
6:10 - 6:20 &ndash; Announcements and Introduction
6:30 - 7:35 &ndash; Dr. Silvia Canelón: An Antarctic Tour of the Tidyverse
7:35 - 7:45 &ndash; QAs and Goodbyes</p>
<p>##FAQ</p>
<p>Q: Are men welcome to attend this event?
A: Our primary mission is to encourage more women and non-binary individuals to get involved in the R community. <strong><em>As such, we strongly encourage that all men who attend this event have a female or non-binary sponsor. Please contact [masked] if you have questions.</em></strong></p>
<p>Additionally, please help us by spreading the word about R-Ladies, and by being respectful of the fact that this event is primarily for women/non-binary/female-identifying individuals.</p>
<h2 id="what-to-bring">What to bring</h2>
<p>Yourself/friends! And a laptop - this will be an interactive event.</p>
<p><strong>Please note:</strong><br />
Our primary mission is to encourage more women and non-binary individuals to get involved in the R community. <em>As such, we strongly encourage that all men who attend this event have a female or non-binary sponsor, as spots may be limited. Please contact [email protected] if you have questions.</em></p>
<p>Be sure to RSVP on <a href="https://www.meetup.com/rladies-chicago/events/269010701/" target="_blank">Meetup</a></p>
</description>
</item>
<item>
<title>R-Ladies Book Club</title>
<link>/post/2020_05_11_book_club/</link>
<pubDate>Mon, 11 May 2020 21:13:14 -0500</pubDate>
<guid>/post/2020_05_11_book_club/</guid>
<description>
<p>Come beat those quarentine blues! Outside of the huge number of tools and packages in R, we can continue to expand our knowledge of the statistical engine behind these. We will particularly focus on developing starter questions for data analysis projects.
You can sign up <a href="https://bit.ly/3b125El">here</a>.</p>
</description>
</item>
<item>
<title>Introducing our 2020 Career Series!</title>
<link>/post/2020-02-07-career-series/</link>
<pubDate>Fri, 07 Feb 2020 21:13:14 -0500</pubDate>
<guid>/post/2020-02-07-career-series/</guid>
<description>
<p>R-Ladies Chicago is proud to host our three-part Career Series in February, March, and April. With hiring season on the horizon, our Career Series will empower R-Ladies with the skills necessary to succeed in the data field. Join us for any/all of these events!</p>
<p>Thank you to Groupon for hosting! All events will take place at <a href="https://goo.gl/maps/BoaBY8Gn9fKDgqTBA">Groupon Corporate Headquarters</a> (600 W. Chicago Avenue; Chicago, IL 60654).</p>
<p><em>Please check in at the front desk then go up to the third floor</em></p>
<hr />
<div id="part-i-using-r-to-land-the-job-a-resume-building-tutorial" class="section level2">
<h2>Part I: Using R to Land the Job: A Resume Building Tutorial</h2>
<p><strong>Wednesday, February 26 at 6pm</strong><br />
<strong><a href="https://www.meetup.com/rladies-chicago/events/268252477/">RSVP on Meetup</a></strong></p>
<p>To kick off our Career Series, our co-organizer Scarlett Winters will lead a tutorial on how to build your resume using the pagedown R package. This tutorial will equip you with the tools to revamp your resume and prove to employers you know how to code in R well before your interview!</p>
<hr />
</div>
<div id="part-ii-our-best-resource-is-each-other-a-qa-panel-on-developing-your-network-and-learning-from-one-another" class="section level2">
<h2>Part II: Our Best Resource is Each Other: A Q&amp;A Panel on Developing Your Network and Learning from One Another</h2>
<p><strong>Wednesday, March 18 at 6pm</strong><br />
<strong><a href="https://www.meetup.com/rladies-chicago/events/269010701/">RSVP on Meetup</a></strong></p>
<p>Next in the Career Series line-up, we will host a career Q&amp;A panel featuring three data scientists from academia, industry, and the experimentation side. This will be a great opportunity to develop your network and gain valuable insights from data scientists across industries.</p>
<div class="figure">
<img src="https://secure.meetupstatic.com/photos/event/b/7/5/8/highres_489346936.jpeg" alt="Career Development Panelists" />
<p class="caption">Career Development Panelists</p>
</div>
<hr />
</div>
<div id="part-iii-keep-growing-building-and-maintaining-your-online-presence" class="section level2">
<h2>Part III: Keep Growing: Building and Maintaining Your Online Presence</h2>
<p><strong>Wednesday, April 22 at 6pm</strong><br />
<em>Meetup Link coming soon</em></p>
<p>The final installment of our Career Series will be a talk on how to build and maintain your online presence in the data space. Have you ever read someone’s data science blog or Twitter and wondered how they can juggle it all? Find out how they do it, and how you can, too! We’ll learn what makes a strong online presence and how you can build and maintain yours.</p>
<hr />
<p><em>Please note</em>: Event details are subject to change! Please check our <a href="https://www.meetup.com/rladies-chicago">Meetup Page</a> for the most up-to-date information on this series.</p>
</div>
</description>
</item>
<item>
<title>R-Ladies Wine Preferences: Sip and Code Recap and Tutorial</title>
<link>/post/2019_07_01_block/</link>
<pubDate>Wed, 03 Jul 2019 00:00:00 +0000</pubDate>
<guid>/post/2019_07_01_block/</guid>
<description>
<p>Last Wednesday, June 26, 2019, the R-Ladies Chicago got together for a Summer Social Meetup over wine and coding. It was a great opportunity to meet people, socialize and, of course, have some drinks!</p>
<p>We were supposed to taste some beverages (wine tasting was optional, there were non-alcoholic drinks too) and rate them for a collaborative activity afterwards. So, what are the R-Ladies wine preferences? In this post I’ll present the data we produced in a simple tutorial.</p>
<p>For this activity I just used tidyverse to do some data wrangling and visualization, RCurl to upload the csv from the R-Ladies Github repository and lubridate to play a little bit with the Timestamp variable.</p>
<p>Let’s see how the data set looks like:</p>
<pre class="r"><code>#uploading packages
library(tidyverse)
library(lubridate)
library(RCurl)
#uploading data from the R-Ladies repository (Here I&#39;m using RCurl)
wine&lt;-read.csv(text=getURL(&quot;https://raw.githubusercontent.com/rladies-chicago/2019-06-26-sip-and-code-round2/master/sipncode2019.csv&quot;))
#taking a look at the first lines
head(wine)</code></pre>
<pre><code>## Timestamp drink_category drink_name drink_rating
## 1 6/26/19 18:02 Non-Alcoholic Blood Orange Pellegrino&#39;s 84
## 2 6/26/19 18:03 Non-Alcoholic Blood Orange Pellegrino&#39;s 85
## 3 6/26/19 18:04 Non-Alcoholic Blood Orange Pellegrino&#39;s 88
## 4 6/26/19 18:10 Non-Alcoholic Grapefruit LaCroix 90
## 5 6/26/19 18:10 Non-Alcoholic Grapefruit LaCroix 80
## 6 6/26/19 18:11 Non-Alcoholic Blood Orange Pellegrino&#39;s 98</code></pre>
<p>We have four variables: 1) Timestamp, that is a factor with the time that the rate was entered in the data set; 2) drink_category categorizes the beverages as non-alcoholic or as Wine/Champagne; 3) drink_name, that is a factor; 4) drink_rating, an interger. Let’s see how many ratings each drink category received.</p>
<pre class="r"><code>wine%&gt;%
count(drink_category)</code></pre>
<pre><code>## # A tibble: 2 x 2
## drink_category n
## &lt;fct&gt; &lt;int&gt;
## 1 Non-Alcoholic 19
## 2 Wine/Champagne 70</code></pre>
<p>The data set has 89 ratings, 19 for non-alcoholic and 70 for alcoholic beverages. I’ll focus this exploration on the alcoholic drinks. All the bottles were opened at the same time and we were free to choose whatever we wanted to try. It means that each participant had tried as many wines as they wanted, but rated each of them only once. Let’s take a look at the distribution of these ratings among our options.</p>
<pre class="r"><code>#setting the ggplot theme
theme_set(theme_classic())
#plotting
wine%&gt;%
filter(drink_category==&quot;Wine/Champagne&quot;)%&gt;%
ggplot(aes(drink_name,drink_rating))+
geom_boxplot()+
geom_dotplot(binaxis=&quot;y&quot;,
stackdir=&quot;center&quot;,
dotsize = .8,
fill=&quot;red&quot;)+
theme(axis.text.x = element_text(angle=70, vjust=0.6))+
labs(title=&quot;Distribution of ratings per alcoholic beverages&quot;,
caption=&quot;Source: R-Ladies Chicago&quot;,
x=&quot;&quot;,
y=&quot;Ratings&quot;)</code></pre>
<p><img src="/post/2019_07_01_Block_files/figure-html/unnamed-chunk-3-1.png" width="672" /></p>
<p>The red dots are each rating in the data set. The data is very unequally distributed and this can lead us to biased conclusions if we don’t analyze them carefully. For example, the Chardonnay - Kendall Jackson has the highest mean rate (89.5), but only two participants tasted it. In turn, Rose (La Vie Ferme) was tasted by 14 ladies and presented a lower mean rate (87).</p>
<p>So, I decided to reclassify the drinks in other three broader categories: 1) White Wine/Champagne, where I’ve put the Champagne - Brut, all the Chardonnays and the Sauvignon Blanc; 2) Light Red Wine, which are the Pinot Noir and Rose; 3) Red Wine, that are the Garnacha, Malbec and Red Blend. Then, I’ve plotted the distribution of the ratings in this new classification.</p>
<pre class="r"><code>#reclassifying
wine_new&lt;-wine%&gt;%
filter(drink_category==&quot;Wine/Champagne&quot;)%&gt;%
mutate(new_category=as.factor(case_when(drink_name==&quot;Chardonnay - La Crema&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name==&quot;Chardonnay - Cambria&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name==&quot;Pinot Noir&quot; ~ &quot;Light Red Wine&quot;,
drink_name==&quot;Garnacha (Vina Zorzal)&quot; ~ &quot;Red Wine&quot;,
drink_name==&quot;Malbec&quot; ~ &quot;Red Wine&quot;,
drink_name==&quot;Champagne - Brut&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name== &quot;Red Blend&quot; ~ &quot;Red Wine&quot;,
drink_name== &quot;Sauvignon Blanc&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name==&quot;Chardonnay&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name==&quot;Rose (La Vieille Ferme)&quot; ~ &quot;Light Red Wine&quot;,
drink_name==&quot;Chardonnay - Butter&quot; ~ &quot;Champagne/White Wine&quot;,
drink_name==&quot;Chardonnay - Kendall Jackson&quot; ~ &quot;Champagne/White Wine&quot;)))
#plotting
wine_new%&gt;%
ggplot(aes(new_category,drink_rating))+
geom_boxplot()+
geom_dotplot(binaxis=&quot;y&quot;,
stackdir=&quot;center&quot;,
dotsize = .8,
fill=&quot;red&quot;)+
theme(axis.text.x = element_text(angle=45, vjust=0.6))+
labs(title=&quot;Distribution of ratings per category&quot;,
caption=&quot;Source: R-Ladies Chicago&quot;,
x=&quot;&quot;,
y=&quot;Ratings&quot;)</code></pre>
<p><img src="/post/2019_07_01_Block_files/figure-html/unnamed-chunk-4-1.png" width="672" /></p>
<p>If we look only at the mean of the ratings (Light Red Wine= 86.3; Champagne/White Wine= 85.8; Red Wine= 84.9) it seems that R-Ladies slightly prefered the Light Red Wines. However, there are some many outliers in all three categories that is hard to say if there was any preferred type.</p>
<p>The data set comprises ratings along one hour of the meeting, from around 6 to 7 pm. The meeting started at 5:45 and finished around 8 or 8:30 pm. The next plot shows how the ratings were distributed in this time frame.</p>
<pre class="r"><code>##transforming the time variable using lubridate
wine_new$Timestamp&lt;-mdy_hm(wine_new$Timestamp)
#ploting the count of alcoholic beverages tasted every 3 minutes
wine_new%&gt;%
ggplot(aes(Timestamp))+
geom_freqpoly(binwidth= 180)+
labs(title=&quot;Count of alcoholic beverages tasted&quot;,
subtitle=&quot;at every three minutes&quot;,
caption=&quot;Source: R-Ladies Chicago&quot;,
x= &quot;&quot;)</code></pre>
<p><img src="/post/2019_07_01_Block_files/figure-html/unnamed-chunk-5-1.png" width="672" /></p>
<p>This plot makes sense to me. People started to arrive in bigger numbers around 6pm and we were encouraged to start tasting the wines by the R-Ladies board by 6:15. Around 6:30 there was a general announcement about how to scan the bar code in order to rate the beverages. These may explain the higher numbers of ratings around 6:15 and 6:40. By 6:45 we had annoucenments and intros, what explains the lower count of ratings around this time.</p>
<p>So, what can we say about the R-Ladies wine preferences? Probably that a good wine is the one you drink with inspiring women while playing a bit with ggplot.</p>
<p>If you are new to R and got a bit lost in this tutorial I highly recommend to take a look at the R-Ladies Chicago <a href="https://github.com/rladies-chicago/beginners-r">Beginners’ Repository</a> on Github.</p>
<div id="about-the-author" class="section level4">
<h4>About the Author:</h4>
<p><a href="https://www.linkedin.com/in/nataliablock/">Natalia Block</a> is a Research and Data Analyst. She has worked with R on research projects for political organizations, campaigns and in academia. When not coding, she is drawing (and vice-versa).</p>
</div>
</description>
</item>
<item>
<title>Join Us!</title>
<link>/project/join/</link>
<pubDate>Sat, 18 May 2019 00:00:00 -0500</pubDate>
<guid>/project/join/</guid>
<description><p>R-Ladies is a worldwide organization that promotes gender diversity in the R community via meetups and mentorship in a friendly and safe environment.</p>
<p>Join our Slack community at this link: <a href="https://rladiesinvite.herokuapp.com/" target="_blank">https://rladiesinvite.herokuapp.com/</a></p>
<p>Follow our Meetup age and join us at our in-person events: <a href="https://www.meetup.com/rladies-chicago/" target="_blank">https://www.meetup.com/rladies-chicago/</a></p>
<p>We are always looking for fellow R-Ladies who are interested in giving a talk, suggesting a Meetup topic, leading a study group, or writing a <a href="https://github.com/rladies-chicago/blog" target="_blank">blog post</a>. Please reach out!</p>
<p><img src="/img/join_us.png" align="center" style="margin: 5px 10px" alt=""></p>
<p></p>
<p>All are welcome to our events. However, our primary mission is to encourage more women and non-binary individuals to get involved in the R community. <em>As such, we strongly encourage that all men who attend our events have a female or non-binary sponsor. Please contact [email protected] if you have questions.</em></p>
</description>
</item>
<item>
<title>Support Us!</title>
<link>/project/support/</link>
<pubDate>Sat, 18 May 2019 00:00:00 -0500</pubDate>
<guid>/project/support/</guid>
<description><p>We are always looking for organizations to support our monthly Meetups! Specifically, we look for companies or organizations that can host us in their space and/or provide food and drink for Meetup attendees.</p>
<p>If you are interested in potentially hosting R-Ladies, please fill out this <a href="https://forms.gle/RP9KqV3x7QpymjgE7" target="_blank">Google Form</a>. Also, please read our <strong><a href="https://docs.google.com/document/d/1NhsM6x1HHaoxXAIYXmApc2lWDQqMTkLQaWuPOoQsaBM/edit?usp=sharing" target="_blank">Sponsor Space Requirements &amp; Guidelines</a></strong> for details about what a host space needs.</p>
<p></p>
<p><img src="/img/rladies_sponsors_v2.jpg" alt="We are grateful to our sponsors for their essential contributions to R-Ladies Chicago" /></p>
</description>
</item>
<item>
<title> R Forwards Package Workshop Recap</title>
<link>/post/2019-02-28-rworkshop_recap/</link>
<pubDate>Tue, 26 Feb 2019 00:00:00 +0000</pubDate>
<guid>/post/2019-02-28-rworkshop_recap/</guid>
<description>
<p>Last Saturday, February 23, 2019, took place the R Forwards Women’s Package Workshop in Chicago at Center for Spatial Data Science, where Angela Li (<a href="https://twitter.com/CivicAngela">CivicAngela</a>) and Stephanie Kirmer (<a href="https://twitter.com/data_stephanie">data_stephanie</a>) conducted the workshop. 40 R-Ladies attended from different parts of the Chicago area to increase their abilities with R.</p>
<div class="figure">
<img src="https://pbs.twimg.com/media/D0HzZViWkAAv-za.jpg" alt="Image Caption: Women’s Package Development Workshop Attendees" />
<p class="caption"><em>Image Caption: Women’s Package Development Workshop Attendees</em></p>
</div>
<div id="what-do-we-learn" class="section level2">
<h2>What do we learn?</h2>
<p>We learned about packages, which are the fundamental units of reproducible R code. Also, we worked on how to create our package, the documentation associated and how to include a unit test to the process.</p>
<p>We saw a variety of subjects in a friendly and collaborative environment. This course was very hands on, and both instructors solved many questions, or for the person sitting next to you. Both Angela and Stephanie presented each subject, and after that, we learned by doing simple exercises about the matter, and if eventually, you can not have any idea about how to continue you can ask for help about how to solve the problem. Just keep going and keep learning.</p>
<div id="material-for-this-workshop" class="section level3">
<h3>Material for this workshop</h3>
<p>You can find all the material of the course in this link: <a href="https://github.com/forwards/workshops/tree/master/Chicago2019">Chicago 2019 Forwards Workshop</a>.</p>
<p>Allow me to introduce the 5 decks presented during the workshop:</p>
</div>
</div>
<div id="first-deck-package-development" class="section level2">
<h2>First Deck: Package Development</h2>
<p>Check the presentation <a href="https://docs.google.com/presentation/d/1DhOqaIumkwzbdglnyugoe53f63pFkQdQwgIdZpmEOok/edit#slide=id.p4">here</a>:</p>
<p>This presentation is about R packages, Angela suggested to check how many R packages have already installed on our computer (you can’t believe the numbers :) ), the most common sources for R packages (Cran and Github), and an explanation of the difference (and similarities) between developing a package and developing a script.</p>
<div id="takeaways" class="section level4">
<h4>Takeaways:</h4>
<ul>
<li>A review for R package from the theory<br />
</li>
<li>Use of several commands like: <code>R.home()</code>, <code>list.files(R.home())</code>, <code>R.version</code></li>
</ul>
</div>
</div>
<div id="second-deck-packages-r-code" class="section level2">
<h2>Second Deck: Packages &amp; R Code</h2>
<p>During this second part, Angela revisited the definition of a package. Also, she analyzed the reasons to use RStudio projects. After this introduction, we started with the process of building a simple package.</p>
<p>Later Stephanie took over explaining what git and GitHub are, and also she spent a moment speaking about version control, ending this second part making a project in RStudio from our repo.</p>
<p>Check the presentation <a href="https://docs.google.com/presentation/d/1zFSArrDtVKNKvu5ZNZ6E4v64f-P7xy8x4-9c4c_B_cY/edit#slide=id.p1">here</a></p>
<div id="takeaways-1" class="section level4">
<h4>Takeaways:</h4>
<ul>
<li>We learned more about the package <a href="https://github.com/r-lib/usethis">usethis</a> (for example <code>usethis::create_package(&quot;~/Desktop/mypackage&quot;)</code>)<br />
</li>
<li>How to create our first package<br />
</li>
<li>How to make a project in RStudio from our repo<br />
</li>
<li>Useful resource: <a href="https://happygitwithr.com">Happy Git with R</a><br />
</li>
<li>Useful resource II: <a href="https://peerj.com/preprints/3159/">Excuse me, do you have a moment to talk about version control?</a></li>
</ul>
</div>
</div>
<div id="third-deck-unit-test" class="section level2">
<h2>Third Deck: Unit Test</h2>
<p>During this third part, we reviewed the reason-why is a great idea to use unit test: because it is an excellent way to be sure that our functionalities continue working after each change.<br />
We also tested the coverage for our package. As a final recommendation, we should include checking our work as a regular part of the iterative process to develop a package (or in any development).</p>
<p>Check the presentation <a href="https://docs.google.com/presentation/d/1-UfFgts0RXOw8VOtEvGv3iMC8rcI7g2QDRhL1MJFk6A/edit#slide=id.p1">here</a>:</p>
<div id="takeaways-2" class="section level4">
<h4>Takeaways:</h4>
<ul>
<li>Theory and practice about how to include unit test in your code<br />
</li>
<li>Useful resource: <a href="http://r-pkgs.had.co.nz/tests.html">Testing</a></li>
</ul>
</div>
</div>
<div id="fourth-deck-documentation" class="section level2">
<h2>Fourth Deck: Documentation</h2>
<p>During this fourth part, Stephanie spoke about documentation and why it is always a good idea to include it in your development process: because documentation is the way to preserve the information about the tools. She reviews Markdown and Roxygen, and also we opened up some function in R to check the Roxygen header and read the documentation, later we included a header in some of the functions created along the workshop. Also, we used Vignettes, Read.me and news to explain how our packages work.</p>
<p>Check the presentation: <a href="https://docs.google.com/presentation/d/1f_uW09RVRF-Bu0kkVCHtB9OYYWxSjngtxcZ8ZvTquSU/edit#slide=id.p1">here</a></p>
<div id="takeaways-3" class="section level4">
<h4>Takeaways:</h4>
<ul>
<li>How to document <a href="http://r-pkgs.had.co.nz/data.html#documenting-data">data objects</a><br />
</li>
<li>How to document <a href="http://r-pkgs.had.co.nz/man.html#man-classes">classes and methods objects</a><br />
</li>
<li>How to document <a href="http://r-pkgs.had.co.nz/man.html#man-packages">packages objects</a><br />
</li>
<li>Information about <a href="http://r-pkgs.had.co.nz/vignettes.html">Vignettes</a></li>
</ul>
</div>
</div>
<div id="fifth-deck-share" class="section level2">
<h2>Fifth Deck: Share</h2>
<p>During this fifth part, we revisited the concept of licenses and the three main open source licenses (CC0, MIT, and GPL). We learned how to use helper to set up the type of license. We got about dependencies and the three types of dependencies (imports, suggests, and depends). We also saw how to access functions in imported packages. We spoke about the reasons to use depends instead on imports. Another concept presented was Automated checking to run automated checks for common problems in R packages. Moreover, also we saw something about how to make a submission to CRAN.</p>
<p>Check the presentation: <a href="https://docs.google.com/presentation/d/17kkDKmcR8BiEo-5aoOkVHcfmOzqp87dR8gy3BwygkD4/edit#slide=id.p1">here</a></p>
<div id="takeaways-4" class="section level4">
<h4>Takeaways:</h4>
<ul>
<li><a href="http://r-pkgs.had.co.nz/check.html">Automated Checking</a></li>
</ul>
</div>
</div>
<div id="additional-materials" class="section level2">
<h2>Additional Materials:</h2>
<p>There are a lot of resources to continue digging into all the concept presented, some of them are:</p>
<ul>
<li><a href="https://adv-r.hadley.nz">Advanced R</a><br />
</li>
<li><a href="http://r-pkgs.had.co.nz">R packages</a><br />
</li>
<li><a href="https://r4ds.had.co.nz">R for data science</a></li>
</ul>
<div id="about-the-author" class="section level3">
<h3>About the Author:</h3>
<p><strong>Florencia Mangini</strong> is a software engineer interested in using data to make a positive impact on society. She enjoys learning and using R, with a focus on data visualization and data mining. She loves to write about business analytics, project management and data science in her blog: <a href="http://www.thinkingondata.com/">www.thinkingondata.com</a>.</p>
</div>
</div>
</description>
</item>
<item>
<title>January Meetup Recap: What We Learned at rstudio::conf</title>
<link>/post/2019-02-04-jan-recap/</link>
<pubDate>Mon, 04 Feb 2019 21:13:14 -0500</pubDate>
<guid>/post/2019-02-04-jan-recap/</guid>
<description>
<p>For our <a href="https://www.meetup.com/rladies-chicago/events/257346957/">January R-Ladies Chicago Meetup</a>, five Chicago R-Ladies presented lightning talks on topics they learned about at rstudio::conf 2019. Three of our organizers attended workshops on diversity scholarships, so we were especially excited to hear what they learned. Natalie Jorion also volunteered to speak, and we ended up having a total of five speakers! Each person spoke for 10 minutes on a subject they thought was interesting.</p>
<p>Topics of the night included deep learning, improving data project organization, tips for Shiny applications, reproducible research, and contributing to open source.</p>
<p>First, <a href="https://twitter.com/ckwill36">Caroline Williams</a> told us what she learned at the deep learning in R workshop. Her slides can be found <a href="https://docs.google.com/presentation/d/1HZBv5TmzP6oQkZthnmw3GfK1fN1TYQjM-F11qvoFQgo/edit#slide=id.p">here</a>.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p lang="en" dir="ltr">
Our <a href="https://twitter.com/hashtag/rstudioconf?src=hash&amp;ref_src=twsrc%5Etfw">#rstudioconf</a> lighting talks are starting with <a href="https://twitter.com/ckwill36?ref_src=twsrc%5Etfw"><span class="citation">@ckwill36</span></a> discussing deep learning <a href="https://t.co/Z85sg0IT2p">pic.twitter.com/Z85sg0IT2p</a>
</p>
— R-Ladies Chicago (<span class="citation">@RLadiesChicago</span>) <a href="https://twitter.com/RLadiesChicago/status/1090046174252462080?ref_src=twsrc%5Etfw">January 29, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>Next, <a href="https://twitter.com/ayanalytics">Amy Yang</a> explained how to properly write file paths in R. Her slides can be found <a href="https://docs.google.com/presentation/d/1c7sNVqVByTia57IhK1Uux6zrVrbpnWJuLT9LAFf2uh4/">here</a>.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p lang="en" dir="ltr">
.<a href="https://twitter.com/ayanalytics?ref_src=twsrc%5Etfw"><span class="citation">@ayanalytics</span></a> relaying <a href="https://twitter.com/JennyBryan?ref_src=twsrc%5Etfw"><span class="citation">@JennyBryan</span></a>’s legendary advice about file paths to <a href="https://twitter.com/hashtag/RLadies?src=hash&amp;ref_src=twsrc%5Etfw">#RLadies</a> Chicago. <a href="https://twitter.com/hashtag/rstudioconf?src=hash&amp;ref_src=twsrc%5Etfw">#rstudioconf</a> ⚡️talks <a href="https://t.co/jh4mJknTCW">pic.twitter.com/jh4mJknTCW</a>
</p>
— R-Ladies Chicago (<span class="citation">@RLadiesChicago</span>) <a href="https://twitter.com/RLadiesChicago/status/1090050001148018689?ref_src=twsrc%5Etfw">January 29, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>After that, <a href="https://www.linkedin.com/in/njorion/">Natalie Jorion</a> gave us 10 tips for making better Shiny apps. Her slides can be found <a href="https://docs.google.com/presentation/d/1CD0PMnWAcjau7fzIcXDooiIdjpvDQCCqXr0edkySwxk/edit">here</a>.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p lang="en" dir="ltr">
Natalie Jorion gives us some protips for Shiny apps! <a href="https://twitter.com/hashtag/RLadies?src=hash&amp;ref_src=twsrc%5Etfw">#RLadies</a> <a href="https://twitter.com/hashtag/RStudioConf?src=hash&amp;ref_src=twsrc%5Etfw">#RStudioConf</a> ⚡️talks <a href="https://t.co/gKyr3qx6vY">pic.twitter.com/gKyr3qx6vY</a>
</p>
— R-Ladies Chicago (<span class="citation">@RLadiesChicago</span>) <a href="https://twitter.com/RLadiesChicago/status/1090052135536992259?ref_src=twsrc%5Etfw">January 29, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>Following that, <a href="https://katherinesimeon.github.io/">Katherine Simeon</a> presented on what she learned about conducting reproducible research in R. Her (<a href="https://bookdown.org/yihui/rmarkdown/xaringan.html">xaringan!</a>) slides can be found <a href="https://katherinesimeon.github.io/20190128-reproducible-research/#1">here</a>.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p lang="en" dir="ltr">
New packages introduced by <a href="https://twitter.com/kitkatbar429?ref_src=twsrc%5Etfw"><span class="citation">@kitkatbar429</span></a> in her reproducible research talk following up <a href="https://twitter.com/hashtag/rstudioconf?src=hash&amp;ref_src=twsrc%5Etfw">#rstudioconf</a> include: usethis, rrtools, containerit, and “Knit with Parameters” in <a href="https://twitter.com/hashtag/rmarkdown?src=hash&amp;ref_src=twsrc%5Etfw">#rmarkdown</a> <a href="https://t.co/rg1PMlXbDi">pic.twitter.com/rg1PMlXbDi</a>
</p>
— R-Ladies Chicago (<span class="citation">@RLadiesChicago</span>) <a href="https://twitter.com/RLadiesChicago/status/1090056012718059520?ref_src=twsrc%5Etfw">January 29, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>Finally, I talked about my experience contributing to open source at Tidyverse Developer Day. My slides can be found <a href="https://docs.google.com/presentation/d/1iodn7rsklI1wryld-NN_Dslr7tHM0xyoMx2C3RRFTJc/">here</a>.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p lang="en" dir="ltr">
.<a href="https://twitter.com/CivicAngela?ref_src=twsrc%5Etfw"><span class="citation">@CivicAngela</span></a> tells us about submitting a pull request during <a href="https://twitter.com/hashtag/TidyverseDevDay?src=hash&amp;ref_src=twsrc%5Etfw">#TidyverseDevDay</a>. 💪🏼 <a href="https://twitter.com/hashtag/RLadies?src=hash&amp;ref_src=twsrc%5Etfw">#RLadies</a> <a href="https://t.co/uttH5w3rlY">pic.twitter.com/uttH5w3rlY</a>
</p>
— R-Ladies Chicago (<span class="citation">@RLadiesChicago</span>) <a href="https://twitter.com/RLadiesChicago/status/1090058635508633602?ref_src=twsrc%5Etfw">January 29, 2019</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>I thought the lightning talk format where each person spoke for 5-10 minutes was a nice way to cover many different topics at once, and I was impressed at how many people braved the sub-zero weather and the snow to come to the Meetup! Thank you <a href="https://www.wework.com/buildings/20-w-kinzie-st--chicago--IL">WeWork Kinzie</a> for hosting us and keeping us warm at the Meetup, and <a href="https://developer.microsoft.com/en-us/advocates/index.html">Microsoft</a> for food as always.</p>
<div id="additional-reading" class="section level2">
<h2>Additional Reading</h2>
<ul>
<li><p><a href="https://twitter.com/manginiflor">Florencia Mangini</a> put together a lovely detailed recap of the event with more links to things we mentioned in our presentations, which you can read at <a href="http://www.thinkingondata.com/r-ladies-chicago-what-we-learned-at-rstudioconf-2019-lightning-talks/">her blog</a>!</p></li>
<li><p>Organizer <a href="http://amazingspecialist.coolcatscoding.com/">Ola Giwa</a> wrote a blog post on her experience at rstudio::conf <a href="https://medium.com/@zaynaibg/rstudio-conf-8768c9b07345">here</a>.</p></li>
</ul>
</div>
</description>
</item>
<item>
<title>Introducing Chicago Schools Enrollment Data to R</title>
<link>/post/2019-01-21-mack/</link>
<pubDate>Thu, 24 Jan 2019 00:00:00 +0000</pubDate>
<guid>/post/2019-01-21-mack/</guid>
<description>
<script src="/rmarkdown-libs/htmlwidgets/htmlwidgets.js"></script>
<script src="/rmarkdown-libs/plotly-binding/plotly.js"></script>
<script src="/rmarkdown-libs/typedarray/typedarray.min.js"></script>
<script src="/rmarkdown-libs/jquery/jquery.min.js"></script>
<link href="/rmarkdown-libs/crosstalk/css/crosstalk.css" rel="stylesheet" />
<script src="/rmarkdown-libs/crosstalk/js/crosstalk.min.js"></script>
<link href="/rmarkdown-libs/plotly-htmlwidgets-css/plotly-htmlwidgets.css" rel="stylesheet" />
<script src="/rmarkdown-libs/plotly-main/plotly-latest.min.js"></script>
<p>The City of Chicago and Chicago Public Schools (CPS) have made data on annual enrollments, school locations, and other school features available to the public. After a bit of wrangling (frankly maybe more than just a bit) these data can be used in R to get key visualizations.</p>
<p>My own interest in the schools data began with a desire to understand more about the spread of charter schools in the city, and also more about the sharp enrollment declines that some regular public high schools have experienced since the early ’00s. Putting together the annual enrollment data provided by the CPS into a longitudinal form gave some insights into both questions. In addition, the City provides a shapefile of school locations as of the 2014-2015 school year that has enough information to make a first pass at seeing the expansion of schools of other-than-regular governance. In this post I’ll share those illustrations.</p>
<pre class="r"><code>library(tidyverse)
library(lubridate)</code></pre>
<p>The <a href="https://github.com/cymack/CPSenrollment">all-high school enrollment data.frame</a> is available at my github site in <a href="https://github.com/cymack/CPSenrollment/blob/master/enrollment_all_hs.csv">csv</a> and <a href="https://github.com/cymack/CPSenrollment/blob/master/enrollment_all_hs.Rds">Rds</a> formats. In the command below we use RCurl::getURL to get the csv version directly from the raw files at github.</p>
<pre class="r"><code># The enrollment data#
require(&quot;RCurl&quot;)
library(RCurl)
enrollment_all_hs &lt;-read.csv(text=getURL(&quot;https://raw.githubusercontent.com/cymack/CPSenrollment/master/enrollment_all_hs.csv&quot;)) </code></pre>
<p>For most years, school governance, as I’ve called it, has only two levels, “regular” and “charter.” In 2016 a third level appears for the first time, “contract.” As there were only 4 contract high schools in that year, I’ve collapsed that factor with charter to create “charter etc.” Then I extracted a table of annual counts of regular and charter etc schools, and plotted a graph.</p>
<pre class="r"><code>tbl.allschools_years_gov &lt;-
enrollment_all_hs %&gt;%
dplyr::mutate(govern = forcats::as_factor(govern)) %&gt;%
dplyr::mutate(govern = forcats::fct_collapse(govern, &quot;charter etc&quot; = c(&quot;charter&quot;, &quot;other&quot;))) %&gt;%
dplyr::group_by(year, govern) %&gt;%
dplyr::count()
# tbl.allschools_years_gov %&gt;% print(n=24)
# So in any table or graph derived from this frame, the &quot;charter etc&quot; factor includes
# contract or other schools that in the main data frame are factored separately
# as &quot;other.&quot;</code></pre>
<div id="htmlwidget-1" style="width:480px;height:384px;" class="plotly html-widget"></div>
<script type="application/json" data-for="htmlwidget-1">{"x":{"data":[{"x":[13149,13514,13879,14245,14610,14975,15340,15706,16071,16436,16801,17167],"y":[11,17,26,36,21,27,36,50,75,79,50,89],"text":["n: 11","n: 17","n: 26","n: 36","n: 21","n: 27","n: 36","n: 50","n: 75","n: 79","n: 50","n: 89"],"type":"scatter","mode":"markers+lines","marker":{"autocolorscale":false,"color":"rgba(255,255,0,1)","opacity":0.6,"size":11.3385826771654,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,0,0,1)"}},"hoveron":"points","name":"(charter etc,1)","legendgroup":"(charter etc,1)","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","line":{"width":1.88976377952756,"color":"rgba(0,0,0,0.1)","dash":"solid"},"frame":null},{"x":[13149,13514,13879,14245,14610,14975,15340,15706,16071,16436,16801,17167],"y":[115,114,116,109,131,129,116,105,110,113,142,97],"text":["n: 115","n: 114","n: 116","n: 109","n: 131","n: 129","n: 116","n: 105","n: 110","n: 113","n: 142","n: 97"],"type":"scatter","mode":"markers+lines","marker":{"autocolorscale":false,"color":"rgba(0,0,139,1)","opacity":0.6,"size":11.3385826771654,"symbol":"circle","line":{"width":1.88976377952756,"color":"rgba(0,0,0,1)"}},"hoveron":"points","name":"(regular,1)","legendgroup":"(regular,1)","showlegend":true,"xaxis":"x","yaxis":"y","hoverinfo":"text","line":{"width":1.88976377952756,"color":"rgba(0,0,0,0.1)","dash":"dash"},"frame":null},{"x":[14245],"y":[75],"text":"Most striking dynamic element <br />in number of schools <br />is the growth of charters.","hovertext":"y: 75","textfont":{"size":11.3385826771654,"color":"rgba(0,0,0,1)"},"type":"scatter","mode":"text","hoveron":"points","showlegend":false,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[16436],"y":[125],"text":"regular","hovertext":"y: 125","textfont":{"size":11.3385826771654,"color":"rgba(0,0,0,0.5)"},"type":"scatter","mode":"text","hoveron":"points","showlegend":false,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null},{"x":[16436],"y":[40],"text":"charter etc","hovertext":"y: 40","textfont":{"size":11.3385826771654,"color":"rgba(0,0,0,0.5)"},"type":"scatter","mode":"text","hoveron":"points","showlegend":false,"xaxis":"x","yaxis":"y","hoverinfo":"text","frame":null}],"layout":{"margin":{"t":42.6666666666667,"r":7.30593607305936,"b":39.0867579908676,"l":43.1050228310502},"plot_bgcolor":"rgba(235,235,235,1)","paper_bgcolor":"rgba(255,255,255,1)","font":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"title":"CPS High Schools by Year and Type, 2006 -- 2017","titlefont":{"color":"rgba(0,0,0,1)","family":"","size":17.5342465753425},"xaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[12948.1,17367.9],"tickmode":"array","ticktext":["2006","2008","2010","2012","2014","2016"],"tickvals":[13149,13879,14610,15340,16071,16801],"categoryorder":"array","categoryarray":["2006","2008","2010","2012","2014","2016"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"y","title":"Year","titlefont":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"hoverformat":".2f"},"yaxis":{"domain":[0,1],"automargin":true,"type":"linear","autorange":false,"range":[4.45,148.55],"tickmode":"array","ticktext":["50","100"],"tickvals":[50,100],"categoryorder":"array","categoryarray":["50","100"],"nticks":null,"ticks":"outside","tickcolor":"rgba(51,51,51,1)","ticklen":3.65296803652968,"tickwidth":0.66417600664176,"showticklabels":true,"tickfont":{"color":"rgba(77,77,77,1)","family":"","size":11.689497716895},"tickangle":-0,"showline":false,"linecolor":null,"linewidth":0,"showgrid":true,"gridcolor":"rgba(255,255,255,1)","gridwidth":0.66417600664176,"zeroline":false,"anchor":"x","title":"Number of Schools","titlefont":{"color":"rgba(0,0,0,1)","family":"","size":14.6118721461187},"hoverformat":".2f"},"shapes":[{"type":"rect","fillcolor":null,"line":{"color":null,"width":0,"linetype":[]},"yref":"paper","xref":"paper","x0":0,"x1":1,"y0":0,"y1":1}],"showlegend":false,"legend":{"bgcolor":"rgba(255,255,255,1)","bordercolor":"transparent","borderwidth":1.88976377952756,"font":{"color":"rgba(0,0,0,1)","family":"","size":11.689497716895}},"hovermode":"closest","barmode":"relative"},"config":{"doubleClick":"reset","modeBarButtonsToAdd":[{"name":"Collaborate","icon":{"width":1000,"ascent":500,"descent":-50,"path":"M487 375c7-10 9-23 5-36l-79-259c-3-12-11-23-22-31-11-8-22-12-35-12l-263 0c-15 0-29 5-43 15-13 10-23 23-28 37-5 13-5 25-1 37 0 0 0 3 1 7 1 5 1 8 1 11 0 2 0 4-1 6 0 3-1 5-1 6 1 2 2 4 3 6 1 2 2 4 4 6 2 3 4 5 5 7 5 7 9 16 13 26 4 10 7 19 9 26 0 2 0 5 0 9-1 4-1 6 0 8 0 2 2 5 4 8 3 3 5 5 5 7 4 6 8 15 12 26 4 11 7 19 7 26 1 1 0 4 0 9-1 4-1 7 0 8 1 2 3 5 6 8 4 4 6 6 6 7 4 5 8 13 13 24 4 11 7 20 7 28 1 1 0 4 0 7-1 3-1 6-1 7 0 2 1 4 3 6 1 1 3 4 5 6 2 3 3 5 5 6 1 2 3 5 4 9 2 3 3 7 5 10 1 3 2 6 4 10 2 4 4 7 6 9 2 3 4 5 7 7 3 2 7 3 11 3 3 0 8 0 13-1l0-1c7 2 12 2 14 2l218 0c14 0 25-5 32-16 8-10 10-23 6-37l-79-259c-7-22-13-37-20-43-7-7-19-10-37-10l-248 0c-5 0-9-2-11-5-2-3-2-7 0-12 4-13 18-20 41-20l264 0c5 0 10 2 16 5 5 3 8 6 10 11l85 282c2 5 2 10 2 17 7-3 13-7 17-13z m-304 0c-1-3-1-5 0-7 1-1 3-2 6-2l174 0c2 0 4 1 7 2 2 2 4 4 5 7l6 18c0 3 0 5-1 7-1 1-3 2-6 2l-173 0c-3 0-5-1-8-2-2-2-4-4-4-7z m-24-73c-1-3-1-5 0-7 2-2 3-2 6-2l174 0c2 0 5 0 7 2 3 2 4 4 5 7l6 18c1 2 0 5-1 6-1 2-3 3-5 3l-174 0c-3 0-5-1-7-3-3-1-4-4-5-6z"},"click":"function(gd) { \n // is this being viewed in RStudio?\n if (location.search == '?viewer_pane=1') {\n alert('To learn about plotly for collaboration, visit:\\n https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html');\n } else {\n window.open('https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html', '_blank');\n }\n }"}],"cloud":false},"source":"A","attrs":{"13ad1fb68711":{"fill":{},"text":{},"x":{},"y":{},"type":"scatter"},"13ad85d7d5b":{"linetype":{},"x":{},"y":{}},"13ad31d0e5a7":{"x":{},"y":{}},"13ad995507e":{"x":{},"y":{}},"13ad29d7851c":{"x":{},"y":{}}},"cur_data":"13ad1fb68711","visdat":{"13ad1fb68711":["function (y) ","x"],"13ad85d7d5b":["function (y) ","x"],"13ad31d0e5a7":["function (y) ","x"],"13ad995507e":["function (y) ","x"],"13ad29d7851c":["function (y) ","x"]},"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"base_url":"https://plot.ly"},"evals":["config.modeBarButtonsToAdd.0.click"],"jsHooks":[]}</script>
<p>So the visual evidence from this graph is that the number of charter and other schools of non-standard governance types has increased over the period, and that this increase has been the main dynamic in the number of high schools under CPS jurisdiction, since the number of regular schools has oscillated in a more steady manner. Though there is some up-and-downness, the share of non-standard schools has increased significantly.</p>
<p>We can get another perspective on the growth of the number of charter institutions by mapping school locations at different time points. The City of Chicago has, among numerous data files at its <a href="https://data.cityofchicago.org/">data hub site</a>, a shapefile of <a href="https://data.cityofchicago.org/Education/Chicago-Public-Schools-School-Locations-SY1415/3fhj-xtn5">school locations in the year 2014-2015</a>. After some manipulations I’ve come up with spatial data.frames in sf (simple features) format for schools appearing in the enrollment_all_hs frame and the location frame, for the each of the years <a href="https://github.com/cymack/CPSenrollment/blob/master/school_loc_merged.2006.Rds">2006-2007</a> and <a href="https://github.com/cymack/CPSenrollment/blob/master/school_loc_merged.2016.Rds">2016-2017</a>, available on my github site at the links. Again RCurl::getURL in the code chunk is aimed at the raw github files. It is hoped that in the first pass visualization the noise occasioned by mixing data across three years be overwhelmed by strength of the main effect.</p>
<p><img src="/post/2019-01-21-MACK_files/figure-html/maps-1.png" width="672" style="display: block; margin: auto auto auto 0;" /></p>
<p>Another caveat is that the school types in the maps are derived from the locations data provided by the City of Chicago, and appears to be a different categorization from that in the CPS enrollment data set. The difference seems to affect mostly the charter and other options school types. In this case combining the charter and all other types into one factor level might actually have helped.</p>
<p>Clearly visible in the maps is the increase in number of high schools overall from 2006 to 2016. The increased density of locations is especially noticeable in the central area of the city, roughly to the west of downtown.</p>
<div id="about-the-author" class="section level4">
<h4>About the Author:</h4>
<p>Charlotte Mack is a former economist who is interested in the use of R and other open source data platforms with public data as part of civic activities. She also enjoys black-and-white movies and television, and has recently added new tango to her numerous musical enthusiasms.</p>
<svg style="height:0.8em;top:.04em;position:relative;" viewBox="0 0 496 512">
<path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/>
</svg>
<p><a href="https://github.com/cymack">cymack</a></p>
</div>
</description>
</item>
<item>
<title>Trying out R Tours</title>
<link>/post/2018-09-rtours/</link>
<pubDate>Thu, 27 Sep 2018 21:13:14 -0500</pubDate>
<guid>/post/2018-09-rtours/</guid>
<description>
<p>At R-Ladies, we want everyone to feel welcome, especially women and minority genders. Our favorite part of R-Ladies is cultivating an inclusive learning community–it is a challenge, but well worth it. As an R Community, where we are passionate about what we do in R, accessibility and inclusivity also means cultivating a welcoming environment for R users of all levels–from beginner to expert to everyone in between.</p>
<p>The Chicago organizing team works hard to plan our events intentionally where there is a combination of tutorials, talks about specific topics, and social events that showcase the strengths and address the interests of the local R-Ladies community. Some of these events will be better for beginners than others, but we hope that people will join us regardless of their R proficiency. We also hope our members will give us feedback on what they want to learn about in the future. In order to make our meetups more accessible, regardless of the topic, we’ll be piloting a new initiative: <strong>R Tours</strong>! R Tours will be a 15-minute orientation on R essentials that immediately precede
in person meetups.</p>
<div id="why-tours" class="section level2">
<h2>Why Tours?</h2>
<p>At a couple events this past summer, a number of attendees said they had never even seen RStudio before or had just downloaded R on their computer before coming to the meetup. The purpose of R Tours is to provide a super-quick overview to complete beginners before (ideally, each) meetup. Somethings we are considering when developing this initiative:</p>
<ol style="list-style-type: decimal">
<li><p>What do beginners need to get the most out of that day’s meetup? We’ll open RStudio and introduce each window. We’ll install and load any packages that are necessary for the talk. The goal is for beginners to know where to look when someone live codes. We also don’t want them to be discouraged from following along on their own computers because they had trouble installing things.</p></li>
<li><p>This isn’t an in-depth tutorial or class that will provide all the information one needs. Also, we want attendees to download the script and run with it. So we used base R with no other packages or files necessary (other than what might be necessary for that day’s meetup). However, we will point attendees to resources where they can learn more about R!</p></li>
<li><p>We hope that this will be a sustainable, recurring activity that we can do before every meetup to help beginners get more out of each meetup. We also hope it will facilitate community building within our R-Ladies Chapter, where other R-Ladies members can lead this 15-minute tour. It is a great opportunity to contribute to R-Ladies while practicing R teaching skills (and it’s not a big time commitment either!).</p></li>
</ol>
<p>We’re including a draft of what our R tour might consist of. Check out this <a href="https://github.com/rladies-chicago/beginners-r">repo</a>, where we’ll be updating our R tour for each meetup. This is still a work-in-progress and feedback is greatly appreciated! :)</p>
</div>
<div id="an-example-of-an-r-tour" class="section level2">
<h2>An Example of an R Tour</h2>
<pre class="r"><code>### R-Ladies Chicago R TOUR
# Load Data into workspace. Here, we&#39;re loading a sample dataset that is already in R
data(&quot;iris&quot;)
# See the first six rows of the dataset
head(iris)
# See how large the dataset is
dim(iris) # output shows number of rows then number of columns
# What is this dataset about? You can use ? for other functions to get more info
?iris
# See a subset of your data
# Show data where petal length is greater than 2 cm
subset(iris,iris$Petal.Length &gt; 2)
# Save the data as a file in your working directory
write.csv(iris,file=&quot;my_iris_data.csv&quot;)
# Read a file into R from your working directory
my_iris_data &lt;- read.csv(&quot;my_iris_data.csv&quot;)
</code></pre>
</div>
</description>
</item>
<item>
<title>Data Viz Study Group Meeting</title>
<link>/talk/2018-09-10_dataviz/</link>
<pubDate>Sun, 26 Aug 2018 00:00:00 -0500</pubDate>
<guid>/talk/2018-09-10_dataviz/</guid>
<description><p>Join the Data Viz study group for their first meeting! We&rsquo;ll be exploring the grammar of graphics with R. There will also be an introduction to ggplot2. All are welcome!</p>
<p>Please email study group coordinator Ola [at] rladies dot org or join our <strong>#sg-dataviz</strong> slack channel with any questions.</p>
<p>Please RSVP: <a href="https://www.meetup.com/rladies-chicago/events/254251305/" target="_blank">https://www.meetup.com/rladies-chicago/events/254251305/</a></p>
</description>
</item>
<item>
<title>Call for Blog Posts</title>
<link>/post/2018-07-16_blog_info/</link>
<pubDate>Mon, 16 Jul 2018 21:13:14 -0500</pubDate>
<guid>/post/2018-07-16_blog_info/</guid>
<description>
<p>R-Ladies Chicago is excited to start this blog to showcase the perspectives of different members in the R-Ladies Chicago community!</p>
<p>We are looking for individuals who are interested in contributing to this blog. Whether you just want to write a single blog post or contribute regularly, we want to hear from you!</p>
<p>We’re hoping to have two new posts each month on this blog. Blog posts could consist of:</p>
<ul>
<li>Event Recaps (either an R-Ladies Meetup or Study Group Meeting or another R-related event)<br />
</li>
<li>Learning something new in R (introducing a package or function in R)<br />
</li>
<li>Member profiles (we would love to spotlight members of the R-Ladies Chicago Community)</li>
</ul>
<p>For more details about contributing, please visit our <a href="https://github.com/rladies-chicago/blog">github repo</a>.</p>
<p>If you have any questions, please email us at <a href="mailto:[email protected]">[email protected]</a>.</p>
</description>
</item>
<item>
<title>Study Groups</title>
<link>/project/studygroups/</link>
<pubDate>Wed, 20 Jun 2018 00:00:00 -0500</pubDate>
<guid>/project/studygroups/</guid>
<description><p><img src="/img/Astrologo.jpg" align="left" style="margin: 5px 10px" alt=""></p>
<p><strong>Astrostatistics</strong></p>
<p>Astrostatistics is a new emerging field that combines Astrophysics and Statistics. Our Astrostatistics Study Group (ASG) will create opportunities for R people to join the fun in exploring the Universe!</p>
<p>Visit <a href="https://asgchicago.github.io/" target="_blank">https://asgchicago.github.io/</a> for more info</p>
<p></p>
<p><img src="/img/NLPlogo.jpg" align="left" style="margin: 5px 10px" alt=""></p>
<p><strong>Natural Language Processing</strong></p>
<p>There are many ways to look at text &amp; language data. The NLP study group explores different aspects of text analysis in the R programming language.</p>
<p>Visit our github at: <a href="https://github.com/rladies-nlp" target="_blank">https://github.com/rladies-nlp</a></p>
<p></p>
<p><strong>Other Study Groups</strong></p>
<p>Javascript<br />
Machine Learning<br />
GIS/Spatial Data</p>
<p>Join via <a href="https://rladiesinvite.herokuapp.com/" target="_blank">Slack</a>!</p>
</description>
</item>
<item>
<title>'Git' down with Git + R (Workshop & Tutorial)</title>
<link>/talk/2018-11-13-meetup/</link>
<pubDate>Sun, 01 Jan 2017 00:00:00 -0600</pubDate>
<guid>/talk/2018-11-13-meetup/</guid>
<description><p>Learn about using Git &amp; R at our November Meetup! R-Ladies Board Member Ola Giwa will lead a tutorial and workshop to get you up and running with Github and using Git in your workflow. This session will discuss:</p>
<ul>
<li>Version control and why it is important<br /></li>
<li>Fundamental git commands<br /></li>
<li>Using Github for collaboration!<br />
<br /></li>
</ul>
<p>This event is extremely beginner-friendly! We encourage anyone, regardless of R &amp; Git/Github proficiency, to join us!</p>
<p>Please RSVP on our <a href="https://www.meetup.com/rladies-chicago/events/255727048/" target="_blank">Meetup page</a>!</p>
</description>
</item>
<item>
<title>Animation for Effective Data Visualization with R</title>
<link>/talk/2019-7-24-meetup/</link>
<pubDate>Sun, 01 Jan 2017 00:00:00 -0600</pubDate>
<guid>/talk/2019-7-24-meetup/</guid>
<description><p>Adding animation to graphs can make visualizations eye-catching and effective for transmitting complex information to audiences. In this talk, attendees will learn about using animation in data visualizations in R using ggplot2 and gganimate. Topics will include: how to choose when an animation might (or might not) be an appropriate option for your use case, ways to make sure your visualization still communicates clearly and succinctly when animated, and a hands-on walk-through of how to turn a not-so-great static visualization into a great animated plot. The gganimate package will be the key tool discussed, and some familiarity with ggplot2 is recommended but not required.</p>
<p><strong>Please note:</strong><br />
Our primary mission is to encourage more women and non-binary individuals to get involved in the R community. <em>As such, we strongly encourage that all men who attend this event have a female or non-binary sponsor. Please contact [email protected] if you have questions.</em></p>
<p>Please RSVP through <a href="https://www.meetup.com/rladies-chicago/events/262406111/" target="_blank">Meetup</a>.</p>
</description>
</item>
</channel>
</rss>