Extending a Monte Carlo data set
Introduction
A Monte Carlo data set is not limited to flat structures. A good example is product holdings, a property that represents a one-to-many relationship. A single customer may have multiple credit cards. In a Monte Carlo data set, the relationship between the customer and the product holdings records is based on a common key, such as the customer ID.
Video
Transcript
In this demonstration, you extend the customer data model by adding Product Holdings.
Data generation is not limited to flat structures. In this example, the corporate customer records include a Page List property called Product Holdings. To add Product Holdings records, select Add group and specify that property.
The Product Holdings property represents a one-to-many relationship.
Using the Monte Carlo method, you can specify the number of records generated for each customer record.
The Monte Carlo Consecutive Provider enables you to use the same key as the one used in the customer record. This allows you to establish a relationship between the customer and the Product Holdings records based on a common key. In this case, the key is Customer ID.
The Options Provider enables you to specify a list from which the system selects a value. Having added the extra fields, examine the results. When you expand a customer record to see the Product Holdings records, the Customer ID is repeated.
You have now reached the end of this demonstration. During this demonstration, you learned how to generate mock data for an extended data model.