Local Macros in Stata Using Regular Expressions

Regular expressions can dramatically make your scripting simpler, more automated, and enable you to embed systematically-important information in filenames, variables, dictionaries, and paths. With enough practice, xkcd reminds us that regexp can also make you a superhero. Stata provides a very nice table of their regular expressions and offers some helpful examples, but these seem … Continue reading Local Macros in Stata Using Regular Expressions