Up until a few weeks ago, I had been working off the RStudio version I had initially downloaded in December 2015. The most recent version has a cool feature: tear-away source. You can now fit source scripts, markdowns, and other files side by side. Very convenient.Read more "New RStudio feature: tear-away source"
When and how to use mapply() Use mapply() when you need to pass more than one (multiple) vector to sapply(). Take for example, the two vectors .url and .destfile which contain url download files and file destinations, respectively. We want to use download.file() to download the files in .url to the file destinations in .destfile. We can use: While […]Read more "When to use mapply() over sapply()"
In this post I will go over how to create an aggregated table of the FRED data and merge it with the election data. This aggregated table will serve as the basis for a future post on mapping out both the FRED and election data. In my next post, I will go through how to tier and […]Read more "R, FRED, and the 2016 Texas Primary: Part 3.1"