Git Product home page Git Product logo

data_gen_dated_events's Introduction

data_gen_dated_events Build StatusCoverage Status

Sample Data Generator for date events, e.g. HR Data

This currently generates a sparse "hired values only" data with just two dimensions User, Location, FTE and a set of aggregates and hire state toggled (on off)

  • date ranged [from,to],
  • at least one monthly record on the last day of the month if hired.
  • a record for every hire change
247;202007;202007;202007;44013;44043;1.0;0.0;0.0;31;2020-07-01;2020-07-31;"P1"   ;"NewYork"             ;1.0;1.0;1.0;31;0.5;0.5;0.5;15.5;4;3;4;30;29;30;stEOM
248;202008;202008;202008;44044;44067;0.0;0.0;0.0;31;2020-08-01;2020-08-24;"P1"   ;"NewYork"             ;1.0;0.0;0.0;24;0.5;0.0;0.0;  12;5;0;0;30;0;0;termclose-12020-08-25 HC
248;202008;202008;202008;44068;44074;1.0;0.0;0.0;31;2020-08-25;2020-08-31;"P1"   ;"Frankfurt"           ;0.0;1.0;0.0; 0;0.0;0.5;0.0;   0;0;0;0;0;0;0;stEOM

MONAG are monthly argregates, without zero

run it without arguments to get available options (nrpersons, period length)

prerequisite: nodejs (gulp, tsc may need global install, other )

git clone ...
npm install

npm run build

gulp build
gulp test
node js\index.js --nrpersons 20

alternatively:

npm run start -- --nrpersons 20 --stopRecords

or run the genSER_S.cmd to generate a set of data (3, 100, 200, 500, 1000, 2000, 10000)

Note that larger sets are a superset of the smaller sets -> Stable PRNG

data_gen_dated_events's People

Contributors

gerdforstmannsap avatar jfseb avatar yotinlai avatar

Watchers

 avatar  avatar

Forkers

yotinlai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.