Tabulify - How to use a data generator in a data operation

Tabulify - How to use a data generator in a data operation

Generator

A generator is just a data resource and therefore you can use it in every data operation.

Example

Printing the generator will print the generated data

The head command will print the generated data.

tabul data head --limit 30 sequence--generator.yml@howto
The first 30 rows of the data resource (sequence@memgen):
seq_int   seq_char
-------   --------
      1   a
      2   b
      3   c
      4   d
      5   e
      6   f
      7   g
      8   h
      9   i
     10   j
     11   k
     12   l
     13   m
     14   n
     15   o
     16   p
     17   q
     18   r
     19   s
     20   t
     21   u
     22   v
     23   w
     24   x
     25   y
     26   z
     27   1
     28   2
     29   3
     30   4

Insert in a Sql Table

You can insert the generated data into a table in the sqlite database

tabul data insert sequence--generator.yml@howto sequence@sqlite
Transfer results
input             target            latency   record_count   error_code   error_message
---------------   ---------------   -------   ------------   ----------   -------------
sequence@memgen   sequence@sqlite   0.58s               30

Create any type of File

Tabulify - How to create a CSV File with generated data




Related Pages
Undraw Data Processing
Tabulify - How to create an odometer with a sequence generator

This how-to shows you how to generate a digital Odometer with the column sequence generator.
Undraw Data Processing
Tabulify - How to generate a normal distribution with an histogram generator

This how-to shows you how to generate data that follows a normal distribution with the column histogram generator
Undraw Data Processing
Tabulify - How to generate a sequence based on provided values

This how-to shows you how to generate a sequence based on provided values with the column sequence generator.
Undraw Data Processing
Tabulify - How to generate a sequence of date and timestamp

This how-to shows you how to generate a sequence of date and timestamp with the column sequence generator.
Undraw Data Processing
Tabulify - How to generate a sequence of letters

This how-to shows you how to generate an string,varchar, text sequence with the column sequence generator.
Undraw Data Processing
Tabulify - How to generate a sequence of numbers

This how-to shows you how to generate an integer sequence (1,2,3,…) with the column sequence generator.
Undraw Data Processing
Tabulify - How to generate random data

This how-to shows you how to generate random data with the column random generator.
Undraw Data Processing
Tabulify - How to get data from a list of values at random

This how-to shows you how to generate data from a list of values at random data with the column histogram generator.

Task Runner