Created
April 12, 2024 07:41
-
-
Save anilyayavar/0d6de339039fc893c51677a9001419dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
person <- read_csv("https://raw.githubusercontent.com/anilyayavar/sqlmurdermystery/main/data/person.csv") | |
# First Witness | |
person %>% | |
filter(str_detect(address_street_name, "Northwestern Dr") & | |
address_number == max(address_number), | |
.by = address_street_name) %>% | |
# Join with Second Witness | |
bind_rows( | |
person %>% | |
filter(str_detect(name, "Annabel") & | |
str_detect(address_street_name, "Franklin Ave")) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment