HowTo - Data Generator
About
This how-to sections is specific and show you how to generate data with the data generator and show-case the use of the column generator.
This howto will show you how to generate data with an data set generator. In these examples, we use a predefined csv entity file but you could any data resource such as : a sql table a sql query This generator resource uses the firstname entity csv file to fill a firstname column In this basic example, the data set is located by thedata firstname/firstname_fr.csv@entityfirstname_fr.csentityfirstname/firstnamegenerator filtabul pr…
This howto will show you how to use the data set meta generator to retrieve a meta column (ie third column) from a data set defined in a data set generator (ie data set or entity generator) In this example, the data set is theregion entityregioncoderegiongenerator filtabul print
This howto will show you how to generate data with an entity generator. Example of a basic entity generator resource that uses the firstname entity to fill a firstname column You can see the output with tabul print A firstname depends on the gender. Each entity may have one or more meta columns such as gendermeta_columntabul print
This howto will show you how to write an expression for a expression generator. An expression generator generates data from another column based on an expression. This example generate a times table (known also a time dimension in analytics). It's using atime sequencsequencdatgenerator resourcdata typdate/timestamp/time data typeDateNumber2009/10/01datedategetMonthtime expression to get the monthNodetime expression to get the monthxcolumn n…
This howto will show you how to generate a number with the Regular Expression Generator. The following expression will generate a double: where: [0-9]{3} asks for 3 digits \. print a point Note: \ is the escape character that tells the generator to take the dot character and not the regular expression dot matcher[0-9]{3generator