Skip to content

Instantly share code, notes, and snippets.

@nyurik
Created October 18, 2017 07:51
Show Gist options
  • Save nyurik/438d0c99c408f34c192dd4ca3868c177 to your computer and use it in GitHub Desktop.
Save nyurik/438d0c99c408f34c192dd4ca3868c177 to your computer and use it in GitHub Desktop.
sample data for vega scatter plot
{
"took": 1,
"timed_out": false,
"_shards": {"total": 5, "successful": 5, "failed": 0},
"hits": {
"total": 63,
"max_score": 1,
"hits": [
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShcy",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 2,
"question": 11,
"dimension": "executability",
"yes": 1,
"no": 2,
"na": 0,
"q": 1,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShc7",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 3,
"question": 12,
"dimension": "decidability",
"yes": 4,
"no": 0,
"na": 0,
"q": 0,
"final_decision": "yes"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdA",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 2,
"question": 15,
"dimension": "validity",
"yes": 0,
"no": 4,
"na": 0,
"q": 0,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdN",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 20,
"dimension": "effect on process of care",
"yes": 3,
"no": 1,
"na": 0,
"q": 0,
"final_decision": "yes"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdS",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 3,
"question": 21,
"dimension": "effect on process of care",
"yes": 4,
"no": 0,
"na": 0,
"q": 0,
"final_decision": "yes"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdT",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 22,
"dimension": "measurability",
"yes": 1,
"no": 3,
"na": 0,
"q": 0,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdU",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 23,
"dimension": "measurability",
"yes": 1,
"no": 3,
"na": 0,
"q": 0,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdi",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 27,
"dimension": "computability",
"yes": 1,
"no": 1,
"na": 1,
"q": 1,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdk",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 29,
"dimension": "computability",
"yes": 0,
"no": 3,
"na": 0,
"q": 1,
"final_decision": "no"
}
},
{
"_index": "datareco1",
"_type": "doc",
"_id": "AV8uWlHf9sNhJ9afShdl",
"_score": 1,
"_source": {
"action": "stopp",
"reco": 1,
"question": 30,
"dimension": "computability",
"yes": 1,
"no": 2,
"na": 0,
"q": 1,
"final_decision": "no"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment