Inspecting syntax files is the best way to work out exactly how variables and indicators have been built. That's why we've started posting syntax files for many of the standard VAM indicators.
Keep posted as there's more on the way!
The table below contains syntax files which were used to construct food security indicators. It also contains the corresponding datasets for your reference.