Sure, here is the full code: data meat_consumption; informat year monyy7.; format year year.; input year chicken beef pork; cards;…