Graphic Cumulative serology test numbers logs

API
Timestamp User Remote address User agent Added keys Updated items Removed items
2021-09-16T07:50:12.408Z arnold 10.42.2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/6d6f551abc10413a97a6ab64ebac46bd.csv"
    },
    "width": 800,
    "height": 250,
    "transform": [
      {
        "sort": [
          {
            "field": "week"
          }
        ],
        "window": [
          {
            "op": "sum",
            "field": "count",
            "as": "cumulative_count"
          }
        ],
        "groupby": [
          "class"
        ],
        "frame": [
          null,
          0
        ]
      },
      {
        "calculate": "if(datum.class === 'R&D', 'R&D*', datum.class)",
        "as": "classUpdated"
      }
    ],
    "mark": {
      "type": "line",
      "point": {
        "filled": false,
        "fill": "white"
      }
    },
    "encoding": {
      "x": {
        "title": "Week",
        "field": "week",
        "type": "nominal",
        "axis": {
          "labelAngle": 0,
          "labelExpr": "datum.label[5]+datum.label[6]",
          "labelOverlap": "parity"
        }
      },
      "y": {
        "title": "Cumulative number of tests",
        "field": "cumulative_count",
        "type": "quantitative",
        "axis": {
          "orient": "right"
        }
      },
      "color": {
        "field": "classUpdated",
        "type": "nominal",
        "scale": {
          "domain": [
            "R&D*",
            "negative",
            "positive"
          ],
          "range": [
            "#c7c7c7",
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      },
      "tooltip": [
        {
          "field": "week",
          "type": "nominal",
          "title": "Week"
        },
        {
          "field": "classUpdated",
          "type": "nominal",
          "title": "Test result"
        },
        {
          "field": "cumulative_count",
          "type": "quantitative",
          "title": "Cumulative number of tests"
        }
      ]
    }
  }
}
{}
2021-08-30T12:18:01.734Z admin 10.42.2.1 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/6d6f551abc10413a97a6ab64ebac46bd.csv"
    },
    "width": 800,
    "height": 250,
    "transform": [
      {
        "sort": [
          {
            "field": "week"
          }
        ],
        "window": [
          {
            "op": "sum",
            "field": "count",
            "as": "cumulative_count"
          }
        ],
        "groupby": [
          "class"
        ],
        "frame": [
          null,
          0
        ]
      },
      {
        "calculate": "if(datum.class === 'R&D', 'R&D*', datum.class)",
        "as": "classUpdated"
      }
    ],
    "mark": {
      "type": "line",
      "point": {
        "filled": false,
        "fill": "white"
      }
    },
    "encoding": {
      "x": {
        "title": "Week",
        "field": "week",
        "type": "nominal",
        "axis": {
          "labelAngle": 0,
          "labelExpr": "datum.label[5]+datum.label[6]"
        }
      },
      "y": {
        "title": "Cumulative number of tests",
        "field": "cumulative_count",
        "type": "quantitative",
        "axis": {
          "orient": "right"
        }
      },
      "color": {
        "field": "classUpdated",
        "type": "nominal",
        "scale": {
          "domain": [
            "R&D*",
            "negative",
            "positive"
          ],
          "range": [
            "#c7c7c7",
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      },
      "tooltip": [
        {
          "field": "week",
          "type": "nominal",
          "title": "Week"
        },
        {
          "field": "classUpdated",
          "type": "nominal",
          "title": "Test result"
        },
        {
          "field": "cumulative_count",
          "type": "quantitative",
          "title": "Cumulative number of tests"
        }
      ]
    }
  }
}
{}
2021-01-13T11:35:51.526Z arnold 10.42.3.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
[]
{
  "public": false
}
{}
2021-01-13T11:09:45.479Z arnold 10.42.2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/6d6f551abc10413a97a6ab64ebac46bd.csv"
    },
    "width": 800,
    "height": 250,
    "transform": [
      {
        "sort": [
          {
            "field": "week"
          }
        ],
        "window": [
          {
            "op": "sum",
            "field": "count",
            "as": "cumulative_count"
          }
        ],
        "groupby": [
          "class"
        ],
        "frame": [
          null,
          0
        ]
      },
      {
        "calculate": "if(datum.class === 'R&D', 'R&D*', datum.class)",
        "as": "classUpdated"
      }
    ],
    "mark": {
      "type": "line",
      "point": {
        "filled": false,
        "fill": "white"
      }
    },
    "encoding": {
      "x": {
        "title": "Week",
        "field": "week",
        "type": "nominal",
        "axis": {
          "labelAngle": 0
        }
      },
      "y": {
        "title": "Cumulative number of tests",
        "field": "cumulative_count",
        "type": "quantitative",
        "axis": {
          "orient": "right"
        }
      },
      "color": {
        "field": "classUpdated",
        "type": "nominal",
        "scale": {
          "domain": [
            "R&D*",
            "negative",
            "positive"
          ],
          "range": [
            "#c7c7c7",
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      },
      "tooltip": [
        {
          "field": "week",
          "type": "nominal",
          "title": "Week"
        },
        {
          "field": "classUpdated",
          "type": "nominal",
          "title": "Test result"
        },
        {
          "field": "cumulative_count",
          "type": "quantitative",
          "title": "Cumulative number of tests"
        }
      ]
    }
  }
}
{}
2021-01-12T15:33:27.380Z arnold 10.42.3.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
[
  "doctype",
  "dataset",
  "created",
  "public",
  "title",
  "description",
  "error",
  "owner",
  "specification"
]
{}
{}

DataGraphics 1.0.4