Skip to content

Instantly share code, notes, and snippets.

@ispyhumanfly
Last active December 1, 2016 05:47
Show Gist options
  • Save ispyhumanfly/e53bdbc8540eba5f5c16875b11780a72 to your computer and use it in GitHub Desktop.
Save ispyhumanfly/e53bdbc8540eba5f5c16875b11780a72 to your computer and use it in GitHub Desktop.
An example of storing KPI data in a object store.
"objects": [
{
"kpis": [
{
"2016": {
"plants": [
{
"warren": {
}
}
"2016": [
{
"plants": {
"name": "warren",
"rate": {"recordable_incidint_rates" : {
"death": {
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1
},
"lost_work_day": {
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1,
"jan" : 0,
"feb" : 1
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment