get_data now filters out non-events