Classification of crop and livestock systems