Browsed by
Tag: Travel

Ironing Waffle Charts to Analyze Visits to National Parks

Ironing Waffle Charts to Analyze Visits to National Parks

I have to admit, this Waffle package has a sense of humor.  It’s pretty clever to label the function for combining waffle charts “iron”. After my look into the traffic patterns for the Grand Canyon, I wanted to get a sense of context for how visitation to the Grand Canyon differs from other large Intermountain region parks.  I again pulled data from the Nation Parks Service here. This time I selected Yellowstone, Zion, and Bryce Canyon in addition to the Grand Canyon….

Read More Read More

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