Exploring Changes in US Baby Names Using stringr, forcats, and regex
Click here for a link to a code vignette and a youtube video which illustrates the use of the
stringr and forcats libraries as well as regular expressions to explore the variation of baby names in the US over time
This coding demo (length about 50 minutes) shows how to use the stringr library and regular expressions to find insights about how baby names have varied throughout the past 140 years of US history.
You can watch the video on youtube youtube by clicking here.
The code for this vignette can be found by clicking here
Helpful resources for this subject include chapter 14-16 of your textbook, the stringr package, the ‘forcats’ package regex buddy and regex crossword