R Software Code Workflow to construct the food webs