Week 9: Strings and regular expressions

DATA 412/612 · October 28

Lectures

Labs

Sample quiz

Additional readings

Discussion

  • Why is str_detect() often easier to use in a tidy pipeline than grepl()?
  • In words, write a pattern that finds a DC ZIP code. What would that pattern miss?