Fixing and Generating Data Examples
This chapter provides you with tools and techniques to cleanse the data within your dataset. Sometimes, collections may store number and boolean fields as strings, or date fields as text without essential details such as the applicable time zone. Without proper typing, it can be almost impossible for users to execute range-based queries or ask for the results from querying the data to be sorted. You will also learn how to generate new sample data from scratch to help with your testing.
This chapter covers the following:
- Converting text fields to strongly typed fields
- Fixing incomplete date strings
- Generating new mock data