Iāve been encountering lists of data frames both at work and at play. Most of the time, I need only bind them together with dplyr::bind_rows() or purrr::map_df(). But recently Iāve needed to join them by a shared key. This operation is more complex. In fact, I admitted defeat earlier this...
[Read More]
CAIR 2016 Recap
Last week I had the good fortune of attending my first CAIRāno, not the Council on American-Islamic Relations, but the California Association for Institutional Research. Over 300 administrators, analysts, and data nerds decended upon the Millenium Biltmore Hotel in Los Angeles to network, share tips and tricks, and even watch...
[Read More]
Elected Official Lookup with R, rcicero
Chances are that you now hate politics. āE-mailsā makes you perspire, and every Halloween pumpkin bore an eerie resemblance to the Republican nominee. So why not channel that hate into something productive, like building interactive web applications and/or learning more about your elected officials? In other words, why not make...
[Read More]
Building a Library Catalog with R, Part I
I have a habit of boasting about Rās innumerable merits. One day, I was celebrating the arrival of a particular R package when my wife stopped and asked me whyāif R was so greatācanāt it build her an online catalog for her library? I accepted the challenge without hesitation, being...
[Read More]
Calculate Ethnic Diversity Index (EDI) with R
How diverse is your student body? A tour through some classrooms may give you some idea. But how diverse is your student body in relation to the school across town? To answer that question, you need a more precise measure. Enter Ethnic Diversity Index (EDI), a reflection of how evenly...
[Read More]
US Senator Tweets, Part III
At long last we come to the end of this series. I confess that I lost interest whenāspoiler alertāthere was nothing exciting
to report here. But for the sake of symmetry, here in Part III weāll delve into the tweets themselves with the awesome tidytext package.
[Read More]