Skip to main content
HomeRDrunken Datetimes in Ames, Iowa
Premium project

Drunken Datetimes in Ames, Iowa

Apply your skills from "Working with Dates and Times in R" to breathalyzer data from Ames, Iowa.

Start Project
10 Tasks1,500 XP

Loved by learners at thousands of companies


Project Description

In the Who Is Drunk and When in Ames, Iowa? project, you looked at breathalyzer test data from the State of Iowa. There was a lot of date-time manipulation that was hidden behind-the-scenes in that dataset. In this project, you will proceed to uncover temporal trends in the Ames breath alcohol data.

Anyone with familiarity with the lubridate, dplyr, and ggplot2 packages will be able to complete this project successfully. You will manipulate the dates and times in the breath alcohol data to answer questions such as, "What day has the most tests?", "at which hour of the day are breath alcohol tests most common?", and "are blood alcohol content (BAC) results higher on days when Iowa State University's football team plays?"

Project Tasks

  1. 1
    Just how thirsty *is* Thursday?
  2. 2
    What makes Sunday so fun-day?
  3. 3
    Trends in testing over time
  4. 4
    College football
  5. 5
    Home vs. away? Win vs. lose?
  6. 6
    Monthly counts
  7. 7
    VEISHEA: an old tradition
  8. 8
    Looking at BAC
  9. 9
    A more honest plot
  10. 10
    The dangers of binge drinking

Technologies

R R

Topics

Data ManipulationData Visualization
Samantha Tyner HeadshotSamantha Tyner

Postdoctoral Research Associate at Iowa State University

Sam Tyner is a Postdoctoral Research Associate for the Center for Statistics and Applications in Forensic Evidence (a NIST center of excellence) working on human factors in statistical evidence presentation to juries, as well as outreach and education. She earned her PhD in Statistics at Iowa State University in 2017. You can find her on Twitter at @sctyner.
See More

FAQs

What do other learners have to say?