The role of agriculture in rural and urban areas of a region with widespread industrialization