I am analyzing the effect of Covid on unemployment and I believe a major explanatory factor is the industry that an individual belongs to. I am trying to control for industry in a DiD analysis to prove this theory. Within my dataset the variable for industry contains about 60 different industries and I was going to perhaps create a dummy variable for industries that closed during lockdown. However, the industries are in quite a random order- e.g. the first 10 industries are industries that didn't close but the 11th and 12th did close but the 13th didn't etc. I'm assuming I'll just have to go through the whole list and specify which closed and which did not, but how do I work this into a command? Do I use the varlist command?