Graphic Relative copy number of SARS-CoV-2 to PMMoV in Uppsala, wastewater page logs

API
Timestamp User Remote address User agent Added keys Updated items Removed items
2021-11-26T15:23:34.312Z arnold 10.42.3.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/0ac8fa02871745048491de74e5689da9.csv"
    },
    "transform": [
      {
        "filter": "datum.channel=='Uppsala'"
      },
      {
        "calculate": "datum.relative_copy_number",
        "as": "relative_copy_number_total"
      },
      {
        "sort": [
          {
            "field": "week",
            "order": "descending"
          }
        ],
        "window": [
          {
            "as": "rank",
            "op": "rank"
          }
        ]
      },
      {
        "filter": "datum.rank <= 20"
      }
    ],
    "width": 550,
    "height": 250,
    "mark": {
      "type": "bar"
    },
    "encoding": {
      "x": {
        "title": "Week",
        "field": "week",
        "type": "nominal",
        "axis": {
          "labelAngle": 90
        }
      },
      "y": {
        "title": "Relative copy number of SARS-CoV-2 to PMMoV, %",
        "field": "relative_copy_number_total",
        "type": "quantitative"
      },
      "color": {
        "field": "channel",
        "type": "nominal",
        "scale": {
          "domain": [
            "Uppsala"
          ],
          "range": [
            "#8fd7f9"
          ]
        },
        "legend": null
      },
      "tooltip": [
        {
          "field": "week",
          "type": "nominal",
          "title": "Week"
        },
        {
          "field": "channel",
          "type": "nominal",
          "title": "Wastewater treatment plant"
        },
        {
          "field": "relative_copy_number_total",
          "type": "quantitative",
          "title": "Relative copy number of SARS-CoV-2 to PMMoV, %"
        }
      ]
    }
  }
}
{}
2021-11-26T14:52:32.216Z arnold 10.42.3.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
[]
{
  "public": false
}
{}
2021-11-26T14:52:31.159Z arnold 10.42.3.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
[]
{
  "title": "Copy of Relative copy number of SARS-CoV-2 to PMMoV in Uppsala, wastewater page"
}
{}
2021-11-26T14:52:23.147Z arnold 10.42.3.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/0ac8fa02871745048491de74e5689da9.csv"
    },
    "transform": [
      {
        "filter": "datum.channel=='Uppsala'"
      },
      {
        "calculate": "datum.relative_copy_number",
        "as": "relative_copy_number_total"
      },
      {
        "sort": [
          {
            "field": "week",
            "order": "descending"
          }
        ],
        "window": [
          {
            "as": "rank",
            "op": "rank"
          }
        ]
      },
      {
        "filter": "datum.rank <= 20"
      }
    ],
    "width": 450,
    "height": 250,
    "mark": {
      "type": "bar"
    },
    "encoding": {
      "x": {
        "title": "Week",
        "field": "week",
        "type": "nominal",
        "axis": {
          "labelAngle": 90
        }
      },
      "y": {
        "title": "Relative copy number of SARS-CoV-2 to PMMoV, %",
        "field": "relative_copy_number_total",
        "type": "quantitative"
      },
      "color": {
        "field": "channel",
        "type": "nominal",
        "scale": {
          "domain": [
            "Uppsala"
          ],
          "range": [
            "#8fd7f9"
          ]
        },
        "legend": {
          "labelExpr": "{'Uppsala': 'Kungsängsverket'}[datum.label]",
          "title": "Wastewater treatment plant"
        }
      },
      "tooltip": [
        {
          "field": "week",
          "type": "nominal",
          "title": "Week"
        },
        {
          "field": "channel",
          "type": "nominal",
          "title": "Wastewater treatment plant"
        },
        {
          "field": "relative_copy_number_total",
          "type": "quantitative",
          "title": "Relative copy number of SARS-CoV-2 to PMMoV, %"
        }
      ]
    }
  },
  "title": "Copy of Relative copy number of SARS-CoV-2 to PMMoV in Uppsala, homepage"
}
{}
2021-11-26T14:51:58.456Z arnold 10.42.3.1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
[
  "error",
  "dataset",
  "owner",
  "title",
  "specification",
  "public",
  "description",
  "doctype",
  "created"
]
{}
{}

DataGraphics 1.0.4