PA 5.1: Zodiac Killer

Dates and Times with lubridate

Download starter qmd file

library(tidyverse)
library(lubridate)
Note

Note that the lubridate package is a dependency that is installed as part of the tidyverse package, but it is not automatically loaded.

In other words, you have already accomplished install.packages("lubridate") by default of installing the tidyverse, but you will always need to call library(lubridate).

Solve the mystery

One of the most famous mysteries in California history is the identity of the so-called “Zodiac Killer”, who murdered 7 people in Northern California between 1968 and 1969.

A new murder was committed last year in California, suspected to be the work of a new Zodiac Killer on the loose. Fortunately, a camera was planted at the location where the body was found. The FBI has provided you with a list of people who entered the building last year, and what date and time they entered, in Pacific Standard Time (PST).

Unfortunately, the date and time of the murder is not known. You have been hired to crack the case. Use the clues below to discover the murderer’s identity.

# 214 total suspects
suspects <- read_csv("https://github.com/earobinson95/stat331-calpoly/raw/master/practice-activities/data/suspect_times.csv")
  1. Based on the sunburn patterns on the body, the murder was not committed in the morning.

  2. The room where the murder was committed is closed Tuesdays and Thursdays, so the murder did not happen on those days.

  3. It is believed that the murder was committed within 5 weeks (35 days) of Thanksgiving, 2018.

  4. It was discovered that just before being murdered, the victim tried to send a text to their sister in Iceland, saying “Goodnight over there!”

  5. The Killer left behind a birthday card at the scene of the crime. The date is smudged, but the day of the month is shown to be 22. It is thought that perhaps this murder took place less than two days after the Killer’s birthday.

  6. The Killer is amused by our efforts, and he has sent us a cryptic clue:

“The number of minutes between Jan 1, 1970 at midnight and the time I arrived on the scene is divisible by 10.”

Canvas Quiz Submission

Who is the killer? Only one name should remain.