GetStatisticsList » 이력 » 개정판 4
개정판 3 (이름없음, 2021/06/10 05:15) → 개정판 4/8 (이름없음, 2021/06/10 05:24)
h2(#wiki-id-LdpServerStatisticsResolver-getStatisticsList). *GetStatisticsList*
* 모든 Proposal에 대한 통계 결과를 조회
<pre><code class="c">
getStatisticsDetail(
detailRequest: DetailRequest
): ProposalStatistics
</code></pre>
*Request *
|_. field |_. type |_. description |_. note |
| did | String | 사용자 did | |
| command | String | 요청에대한 Command 종류 | 값: listStatistics |
p(wiki-class-auto-cursor-target). *ListResponse*
|_. field |_. type |_. description |_. note |
| list | List<ProposalStatistics> | Proposal에 대한 통계 결과 리스트 | |
p(wiki-class-auto-cursor-target). *proposalStatistics*
|_. field |_. type |_. description |_. note |
| proposalId | String | | |
| statistics | String | | |
---
p(wiki-class-auto-cursor-target). *Request Example*
<pre><code class="c">
query {
getStatisticsList(baseRequest : {
command : "detailStatistics"
did : "NfoPEFaG1adkCpijR85L66"
}) {
list {
proposalId
statistics {
ageGroup {
errorRate {
maximum
mean
median
q1
q3
std
}
estimated
responseCount
}
}
}
}
}
</code></pre>
*Response Example*
<pre><code class="java">
"data": {
"getList": {
"list": [
{
"proposalId": "orPxmv15e2oSPufT3TkeTTfbB49TVM71Re4jX96JJv61GKvSkpkRAn8kGdDtfpdAcpgWZaAAdHFbbsbUAvapgYkEgGsWCzXJZ9c7oFHAu4uRpAyPP",
"statistics": {
"ageGroup": {
"errorRate": {
"maximum": "0.0296",
"mean": "0.0108",
"median": "0.0085",
"q1": "0.0046",
"q3": "0.0151",
"std": "0.0075"
},
"estimated": [
0.28335086,
0.05357143,
0.2964811,
0.21769957,
0.110031515
],
"responseCount": 1000
}
}
},
{
"proposalId": "orPxmv15e2oSPufT3TkdJLyGr9BLYQrcyGYgoJ7Sucpd3MnBM5E17pEjA2yNJo855iW1zUf4NVJpvZe3BCWBeNLcHCh4GCRYKHwcrpPMT4kqBb5Ln",
"statistics": {
"ageGroup": {
"errorRate": {
"maximum": "0.0296",
"mean": "0.0108",
"median": "0.0085",
"q1": "0.0046",
"q3": "0.0151",
"std": "0.0075"
},
"estimated": [
0.2754727,
0.16255252,
0.094275214,
0.22689076,
0.2859769
],
"responseCount": 1000
}
}
},
.........
</code></pre>