Articles by r on Tony ElHabr

The DRY Principle and Knowing When to Make a Package

May 4, 2018 | r on Tony ElHabr

Don’t Repeat Yourself (DRY) Probably everyone who has done some kind of programming has heard of the “Don’t Repeat Yourself” (DRY) principle. In a nutshell, it’s about reducing code redundancy for the purpose of reducing error and enhancing readability. Undoubtedly the most common manifestation of the DRY ...
[Read more...]

Thoughts on Using Flexdashboard

April 29, 2018 | r on Tony ElHabr

I’ve experimented with the {flexdashboard} package for a couple of things after first trying out not so long ago. In particular, I found the storyboard format to be my favorite. I used it to create the storyboard that I wrote about in a previous post about tracking the activity ...
[Read more...]

Analyzing Professional Sports Team Colors with R

March 30, 2018 | r on Tony ElHabr

When working with the ggplot2 package, I often find myself playing around with colors for longer than I probably should be. I think that this is because I know that the right color scheme can greatly enhance the information that a plot portrays; and, conversely, choosing an uncomplimentary palette can ...
[Read more...]

NBA Team Twitter Analysis Flexdashboard

March 10, 2018 | r on Tony ElHabr

I just wrapped up a mini-project that allowed me to do a handful of things I’ve been meaning to do: Try out the {flexdashboard} package, which is supposed to be good for prototypying larger dashboards (perhaps created with {shinydashboard}. Test out my (mostly completed) personal {tetext} package for quick ... [Read more...]

A Tidy Text Analysis of R Weekly Posts

March 4, 2018 | r on Tony ElHabr

I’m always intrigued by data science “meta” analyses or programming/data-science. For example, Matt Dancho’s analysis of renown data scientist David Robinson. David Robinson himself has done some good ones, such as his blog posts for Stack Overflow highlighting the growth of “incredible” growth of python, and the “...
[Read more...]

A Tidy Text Analysis of My Google Search History

February 15, 2018 | r on Tony ElHabr

While brainstorming about cool ways to practice text mining with R I came up with the idea of exploring my own Google search history. Then, after googling (ironically) if anyone had done something like this, I stumbled upon Lisa Charlotte’s blog post. Lisa’s post (actually, a series of ...
[Read more...]

Personal Coding Conventions

February 9, 2018 | r on Tony ElHabr

As a person who’s worked with various programming languages over time, I have become interested in the nuances and overlaps among languages. In particular, concepts related to code syntax and organization–everything from technical concepts such as lexical scoping, to more broad concepts such as importing and naming data–... [Read more...]

Visualizing an NBA Team’s Schedule Using R

November 25, 2017 | r on Tony ElHabr

If you’re not completely new to the data science community (specifically, the #rstats community), then you’ve probably seen a version of the “famous” data science workflow diagram. 1 If one is fairly familiar with a certain topic, then one might not spend much time with the initial “visualize” step ...
[Read more...]

(Yet Another) Migration to Blogdown Post

November 24, 2017 | r on Tony ElHabr

As of today, I’ve officially made the jump to using the R package blogdown (which uses the Hugo static-site generator under the hood) for my personal website. Previously, I had been using WordPress for my blogging purposes. In sync with the change in platform, I’m changing the name ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)