A study published in “Frontiers in Psychology” suggests eating raw vegetable rather than cooked, canned or processed, is linked to better mental health. This article, from April, 2018 is a worthwhile read.
Health .com
“If our patterns are confirmed in intervention studies, it would suggest that heath policies could focus on promoting the consumption of raw and unprocessed produce for optimal well-being,”

“Raw fruits and vegetables may provide greater levels of micronutrients than processed fruits and vegetables, which could explain their stronger association with improved mental well-being,” they wrote. For compounds like vitamin C and carotenoids that have been linked to mental health, “cooking and canning would most likely lead to a degradation in nutrients, thereby limiting their beneficial impact on mental health.”
Health.com
https://www.health.com/depression/raw-fruits-vegetables-mental-health
source: Health.com
Calamity Jane