R by Example: Functional Programming with data.table
March 6 @ 2:30 pm - 4:00 pm
Modern Languages Building (MLB), Room 2001A
In the R by Example series of workshops, we’ll discuss example analyses in R as a vehicle for learning commonly used tools and programming patterns. The “Functional Programming with dplyr” workshop will initially focus on analyzing winter home temperatures in the US using data from the Residential Energy Consumption Survey (https://www.eia.gov/consumption/residential/). We’ll use the data.table package for data manipulation, and then demonstrate how to encapsulate the basic pattern within a function. Such functional programming allows us to repeatedly apply this pattern to answer other questions about this data. By using a function, we make our code more concise and easier to understand. This workshop is geared towards intermediate to advanced R users, or as a follow-up to the “Analyzing RECS using data.table” workshop.