How do I prepare a flat dataset?