sample_data functionality and documentation