Browsed by
Tag: Sedona

Using Waffle Charts in R to Analyze Visits to the Grand Canyon

Using Waffle Charts in R to Analyze Visits to the Grand Canyon

Today I read an article about an article about an R package named Waffle, which is hands down the bast name I’ve heard for an R package.  You can learn about the creation of this package here.  I had some difficulty finding the article that originally alerted me to this package again because googling “waffle r” results in an awful lot of actual waffle recipes and the images can lead to a whole different exploration.

Turning travel data into tidy data

Turning travel data into tidy data

In the previous posts we walked though the basics of reading in the data, quickly plotting some variables, and creating flags to help with future analysis.  Now we’re going to transform the data in to tidy format so that we have variables in columns, observations in rows, and only one type per dataset.  You can learn more about this format here. First, we’ll use the library called ‘reshape2’ to pivot the dataset called temps on the variable named “MST”, making it…

Read More Read More

Creating flag variables in R programming

Creating flag variables in R programming

Now that we’ve gone through the first steps of analyzing our weather data to find the optimal time to travel to Sedona it’s time to create some new variables to help identify the optimal days based on a variety of factors. First, we’re going to create some flags to identify which days have the desired characteristics for Temperature, Visibility, Humidity, and Precipitation.