Updated docstring for modified helper _get_data