Skip to contents

Generate random demo data and write into a csv file.

Usage

gen_demo_data(path = tempdir(), method_name = "kamila", data_size = 1000)

Arguments

path

Path where to store the demo data. Default: tempdir().

method_name

Name of the clustering method.

data_size

Size of the simulated data frame. Default: 1000 rows.

Value

The path of the csv file.

Examples

gen_demo_data()
#> writing:  /tmp/Rtmpl7Cjir/all/IND_YEARLY_RR.csv 
#> [1] "/tmp/Rtmpl7Cjir/all/IND_YEARLY_RR.csv"