gets data for day