프로젝트

일반

사용자정보

Actions

GetStatisticsList » 이력 » 개정판 6

« 뒤로 | 개정판 6/8 (비교(diff)) | 다음 »
이름없음, 2021/06/10 06:14


GetStatisticsList

  • 모든 Proposal에 대한 통계 결과를 조회합니다
getStatisticsDetail(
detailRequest: DetailRequest
): ProposalStatistics

Request 

field type description note
did String 사용자 did  
command String 요청에대한 Command 종류 값: listStatistics

ListResponse

field type description note
list List<ProposalStatistics>  Proposal에 대한 통계 결과 리스트  

proposalStatistics

field type description note
proposalId String    
statistics String    

Request Example

query {
  getStatisticsList(baseRequest : {
    command : "detailStatistics" 
    did : "NfoPEFaG1adkCpijR85L66" 
  }) {
    list {
      proposalId
       statistics {
      ageGroup {
        errorRate {
          maximum
          mean
          median
          q1
          q3
          std
        }
        estimated
        responseCount
      }
    }
    }
  }
}

Response Example

"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
            }
          }
        },
.........

이름없음이(가) 약 4년 전에 변경 · 6 revisions

클립보드 이미지 추가 (최대 크기: 97.7 MB)