GetStatisticsDetail » 이력 » 개정판 5
개정판 4 (이름없음, 2021/06/10 05:15) → 개정판 5/10 (이름없음, 2021/06/10 05:23)
h2(#wiki-id-LdpServerStatisticsResolver-getStatisticsDetail). *GetStatisticsDetail*
* 특정 Proposal에 대한 통계 결과 상세 조회
h2. 요청 필드
<pre><code class="c">
getStatisticsList(
baseRequest: BaseRequest
): ListResponse
</code></pre>
*DetailRequest*
|_. field |_. type |_. description |_. note |
| did | String | 사용자 did | |
| command | String | 요청에 대한 Command 종류 | 값: detailStatistics |
| proposalId | String | 상세 조회하려는ProposalId | |
*ProposalStatistics*
|_. field |_. type |_. description |_. note |
| proposalId | String | ProposalId | |
| statistics | Statistics | 통계 결과 객체 | |
*Statistics*
|_. field |_. type |_. description |_. note |
| AgeGroup | AgeGroup | | |
*AgeGroup*
|_. field |_. type |_. description |_. note |
| errorRate | errorRate | | |
| estimated | [Float] | | |
| responseCount | Long | | |
*ErrorRate*
|_. field |_. type |_. description |_. note |
| maximum | String | | |
| mean | String | | |
| median | String | | |
| minimum | String | | |
| q1 | String | | |
| q3 | String | | |
| std | String | | |
---
p(wiki-class-auto-cursor-target). *Response Example*
<pre><code class="java">
query {
getStatisticsDetail(detailRequest : {
command : "detailStatistics"
did : "NfoPEFaG1adkCpijR85L66"
ProposalId : "orPxmv15e2oSPufT3Tkew4vm6Cmzt6UaY14KrVUuSVT4U8LehyCFd8UaBo3CXgodwNZpeBiupkSGSqqo8Xd64ZKUSKE59RwiuVgM8hyn4kgBAZ5zr"
}) {
proposalId
statistics {
ageGroup {
errorRate {
maximum
mean
median
q1
q3
std
}
estimated
responseCount
}
}
}
}
</code></pre>
*Request Example*
<pre><code class="java">
{
"data": {
"getDetail": {
"proposalId": "orPxmv15e2oSPufT3Tkew4vm6Cmzt6UaY14KrVUuSVT4U8LehyCFd8UaBo3CXgodwNZpeBiupkSGSqqo8Xd64ZKUSKE59RwiuVgM8hyn4kgBAZ5zr",
"statistics": {
"ageGroup": {
"errorRate": {
"maximum": "0.0296",
"mean": "0.0108",
"median": "0.0085",
"q1": "0.0046",
"q3": "0.0151",
"std": "0.0075"
},
"estimated": [
0.31617647,
0.07195378,
0.34375,
0.19012605,
0.08245798
],
"responseCount": 1000
}
}
}
}
}
</code></pre>