Skip to content

Instantly share code, notes, and snippets.

@anilyayavar
Created April 12, 2024 08:28
Show Gist options
  • Save anilyayavar/9d87ab7edde9885038b614b415e01ca4 to your computer and use it in GitHub Desktop.
Save anilyayavar/9d87ab7edde9885038b614b415e01ca4 to your computer and use it in GitHub Desktop.
dl <- read_csv("https://raw.githubusercontent.com/anilyayavar/sqlmurdermystery/main/data/drivers_license.csv")
gfn_checkins %>%
filter(check_in_date == "20180109") %>%
right_join(
gfn_member %>%
filter(membership_status == "gold",
str_detect(id, "^48Z")),
by = join_by(membership_id == id)
) %>%
left_join(
person,
by = join_by(person_id == id)
) %>%
inner_join(
dl %>%
filter(str_detect(plate_number, "H42W")),
by = join_by(license_id == id)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment