Blog Archives

My DataCamp course is live: “Survey and Measure Development in R”

May 19, 2019
By
My DataCamp course is live: “Survey and Measure Development in R”

Very happy to share that my DataCamp course “Survey and Measure Development in R” is now available. Check it out here — the first chapter is free. From the course description: How can we measure something like “brand loyalty?” It’s an obvious measure of interest to marketers, but we can’t quite take a ruler to

Read more »

Review: Excel TV’s Data Science with Power BI and R

October 12, 2018
By
Review: Excel TV’s Data Science with Power BI and R

I have had a long history with Excel TV and, like Excel TV (and Excel itself) the channel has changed over the years. Gone are their regular live-streaming interviews with leading Excel authorities. Excel TV’s main product is now online courses. These are pre-recorded classes taught by the same caliber of talent as that of

Read more »

Writing Code to Read Quotes About Writing Code

October 11, 2018
By
Writing Code to Read Quotes About Writing Code

A recent project of mine has been setting up a Twitter bot on innovation quotes. I enjoy this project because in addition to curating a great set of content and growing an audience around it, I have also learned a lot about coding. From web scraping to regular expressions to social media automation, I’ve learned

Read more »

Downloading 24-Hour Weather Updates in R

September 27, 2018
By
Downloading 24-Hour Weather Updates in R

This post serves as a follow-up on a previous post about scheduled collection of Weather.gov’s XML feed in R, which itself was a follow-up to retrieving real-time data from Weather.gov in Excel. Reflecting on the best way to accomplishing this automation, I noticed something back on Weather.gov’s update page: an option for a 2-day weather history! Duh!

Read more »

Recording Weather.gov History using R and the Windows Task Scheduler

September 26, 2018
By
Recording Weather.gov History using R and the Windows Task Scheduler

One of my most popular posts is on retrieving real-time weather into Excel. A common question here is how to get recorded weather updates; that is, keep a log of the weather updates for a specific place. For that I will write an R script to parse weather.gov’s XML feed for a location and then use the

Read more »

Recap: Greater Cleveland R Users Lightning Talk

September 26, 2018
By
Recap: Greater Cleveland R Users Lightning Talk

I am a regular attendee at the Greater Cleveland R Users Meetup and participated in the September 2018 Lightning Talks, in which a series of speakers gave ~8min presentations on talk running the gamut of R. My presentation came from the social science research world: statistical mediation. In my graduate program we performed these statistics

Read more »

Data Entry with R’s Text Editor

September 14, 2018
By
Data Entry with R’s Text Editor

Excel’s greatest strength — and its greatest weakness — is the ease of users to manipulate the basic data. Done well and the capability affords flexibility; done poorly and you are left with hard-coded cells and hidden Column A’s. With R you approach the data differently by writing each step in code. Generally you do

Read more »

Pivoting on Text in R (vs. Excel)

September 10, 2018
By
Pivoting on Text in R (vs. Excel)

This post follows a previous tutorial on pivoting on text in Excel. In this post I will reproduce the exercise in R. This way you begin to see the similarities and differences of the program and begin to diversify your data skill base.   Related: 5 Things Excel Users Should Know About R — Free

Read more »

R Functions for Reproducible Data Frames

August 10, 2018
By
R Functions for Reproducible Data Frames

  While there are many great resources to get help in R, sometimes you just need a second opinion. Here is where the many Internet help boards come in handy, most notably Stack Overflow. Start posting on Stack Overflow and you will soon learn the importance of the minimum reproducible example (MRE). Without one, you

Read more »

A Tour of RStudio

August 7, 2018
By
A Tour of RStudio

In a previous post I explained how to install RStudio, a popular integrated development environment for the R programming language. Open up RStudio for the first time and it might look like some mad scientist’s Mission Control. In this post I will walk through each pane and what it does. From this you will start

Read more »

Search R-bloggers

Sponsors

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)