Skip to content

ciarancourtney/time-series-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

time-series-generator

generates reproducible pseudo random time series

Installation

npm install

Config File

you can provide a configuration as follows

{
  "start-date": "2016-02-01",
  "end-date": "2016-02-02",
  "resolution": "24 hours",
  "limits": [-10, 35],
  "template": {
    "v": "{value}",
    "t": "{timestamp}",
    "additionalField": "foo"
  }
}

you have to provide a start- and an end-date. also you have to provide a resolution in which each value should appear. the resolution must be a divider of one day an can be an integer and one of the following time units: second(s), minute(s), hour(s). furthermore, you have to specify bounds of the time serie to generate. you can add more fields to the template as desired, but the values {value} and {timestamp} have to be somewhere as a value in the template. value and timestamp in curly braces are replaced on time-series generation.

About

generates reproducible pseudo random time series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%