镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Duplicates in response for certain measures (Regionalatlas) #215

Open

Description

@sjockers

Certain queries, particularly for "Regionalatlas" statistics, respond with duplicate data.

Example query:

query {
  region (id: "06") {
    name
    AI0803 (year: 2009){
      id
      year
      value
      source{
        title_de
        periodicity
        valid_from
        url
        name
      }
    }
  }
}

Example response:

{
  "data": {
    "region": {
      "name": "Hessen",
      "AI0803": [
        {
          "id": "769b3e1f583304747e80ed57fe4585fcd23c0640",
          "year": 2009,
          "value": 6.7,
          "source": {
            "title_de": "Regionalatlas Deutschland",
            "periodicity": "JAEHRLICH",
            "valid_from": "1995-01-01T00:00:00",
            "url": null,
            "name": "99910"
          }
        },
        {
          "id": "0aecc948d67502120eef510a30db600522a30c35",
          "year": 2009,
          "value": 6.7,
          "source": {
            "title_de": "Regionalatlas Deutschland",
            "periodicity": "JAEHRLICH",
            "valid_from": "1995-01-01T00:00:00",
            "url": null,
            "name": "99910"
          }
        }
      ]
    }
  }
}

Expected behavior: The value should only appear once.

Activity

  1. dpprdan commented on Jul 15, 2020

    @dpprdan

    Probably related to datenguide/genesapi-tabular#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions