A framework to assess the resilience of farming systems. (November 2019)