Awesome
Dada
Dada is a simple program for generating tabular text data.
Requirements
Dada requires a C99 compiler and GNU Make.
Installation
To build, run:
make
To install, run:
make install
The default installation location is
$HOME
. Define the environment variable$PREFIX
to specify an alternative installation location. For example:PREFIX="/usr/local" make install
Usage
To generate one kilobyte of tab-separated values, run:
dada
You can specify the size of the data with the -s
option. To generate one
gigabyte of data, run:
dada -s1g
If you want to generate, for example, comma-separated values instead of
TSV, you have to set the field delimiter with the -d
option. To generate CSV,
run:
dada -d,
By default, the number of columns is randomly chosen. However, you can set it
with the -c
option. To generate data with eight columns, run:
dada -c8
Development
To execute the tests, run:
make test
Executing the tests requires Python.
License
Copyright 2012 Jussi Virtanen.
Dada is released under the MIT License. See LICENSE.txt
for details.