What you are asking for a long drawn exercise and works on top of data collected on daily basis.
My company has a mobile based solution to handle just that. Let me know if you would be keen to look at it.
I am sharing a presentation on the solution here.
From India, New Delhi