Capturing the linkages between agriculture and the domestic economy