How the mining sector is learning to fully leverage its data