Hey there,

Iam still newish to Stata and want to code it like other languages. So my todays project:

Is it possible to condition the execution of a codeline on an if clause?
Context: I am working with Data of an research institute which allows to publish Data only if there are more than 20 observations in one object.
What I want to do:

“If Observations > 20
Execute code
Else skip to next line”

What I do otherwise: search for all outputs for all Codelines with less than 20 observations. (not preferred 😊 )

Best regards
Clemens Schiewek