Skip to content

Instantly share code, notes, and snippets.

@draganmarjanovic
Last active August 29, 2015 14:24
Show Gist options
  • Save draganmarjanovic/7108fe072c1040127d32 to your computer and use it in GitHub Desktop.
Save draganmarjanovic/7108fe072c1040127d32 to your computer and use it in GitHub Desktop.
Data structure for passing of hour / casualty information. Sum of fatality counts should be 100 and time is given in 24hr time 0-24.
{
"description": "[{str(time),int(casualties)}]",
"data": [
{
"time": 01,
"fatality_count": 25
},
{
"time": 02,
"fatality_count": 25
},
{
"time": 03,
"fatality_count": 25
},
{
"time": 04,
"fatality_count": 5
},
{
"time": 12,
"fatality_count": 10
},
{
"time": 24,
"fatality_count": 10
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment