{
  "_id": "6a27b17a24555f66ed5366e9",
  "Package": "swissparl",
  "Type": "Package",
  "Title": "Interface to Swiss Parliament Web Services and the\n'OpenParlData' API",
  "Version": "0.3.0",
  "Authors@R": "c(person(\"David\", \"Zumbach\", , \"david.zumbach@gfzb.ch\", c(\"aut\", \"cre\")),\nperson(\"Benjamin\", \"Gföhler\", role = \"ctb\"))",
  "Description": "Provides machine-readable access to parliamentary data of\nthe Swiss Federal Assembly via the 'OData' interface\n(<https://ws.parlament.ch/odata.svc/>) and the 'OpenParlData'\nREST API (<https://api.openparldata.ch>), which also offers\nharmonized data for selected cantonal and municipal\nparliaments.",
  "URL": "https://www.parlament.ch/de/%c3%bcber-das-parlament/fakten-und-zahlen/open-data-web-services,\nhttps://api.openparldata.ch/documentation",
  "BugReports": "https://github.com/zumbov2/swissparl/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 07:51:02 UTC",
    "User": "root"
  },
  "Author": "David Zumbach [aut, cre], Benjamin Gföhler [ctb]",
  "Maintainer": "David Zumbach <david.zumbach@gfzb.ch>",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://zumbov2.r-universe.dev",
  "Date/Publication": "2026-03-10 18:39:39 UTC",
  "RemoteUrl": "https://github.com/zumbov2/swissparl",
  "RemoteRef": "HEAD",
  "RemoteSha": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
  "MD5sum": "ffbdae4f4316f7f87c05a7969a084673",
  "_user": "zumbov2",
  "_type": "src",
  "_file": "swissparl_0.3.0.tar.gz",
  "_fileid": "23a3bb99d5e9b96f3c42a641ba5269e4c8d75149770373593cd5d6c4ee985957",
  "_filesize": 171109,
  "_sha256": "23a3bb99d5e9b96f3c42a641ba5269e4c8d75149770373593cd5d6c4ee985957",
  "_created": "2026-06-08T07:51:02.000Z",
  "_published": "2026-06-09T06:23:53.998Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80256757680,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474371601"
    },
    {
      "job": 80256757798,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474355527"
    },
    {
      "job": 80256757359,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500001544"
    },
    {
      "job": 80256757350,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7499653236"
    },
    {
      "job": 80256757299,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474317817"
    },
    {
      "job": 80256757712,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474352527"
    },
    {
      "job": 80256757958,
      "time": 80,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474343582"
    },
    {
      "job": 80256757844,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474352089"
    },
    {
      "job": 80256757587,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474358124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/zumbov2/swissparl",
  "_commit": {
    "id": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
    "author": "David Zumbach <31518032+zumbov2@users.noreply.github.com>",
    "committer": "David Zumbach <31518032+zumbov2@users.noreply.github.com>",
    "message": "0.3.0 leftovers\n",
    "time": 1773167979
  },
  "_maintainer": {
    "name": "David Zumbach",
    "email": "david.zumbach@gfzb.ch",
    "login": "zumbov2",
    "linkedin": "in/david-zumbach",
    "description": "Political Economist. Managing Partner and Head of Data Science at Grünenfelder Zumbach.",
    "uuid": 31518032
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "zumbov2",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 11
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "api",
    "opendata",
    "politics",
    "switzerland"
  ],
  "_stars": 38,
  "_contributors": [
    {
      "user": "zumbov2",
      "count": 122,
      "uuid": 31518032
    }
  ],
  "_userbio": {
    "uuid": 31518032,
    "type": "user",
    "name": "David Zumbach",
    "description": "Political Economist. Managing Partner and Head of Data Science at Grünenfelder Zumbach."
  },
  "_downloads": {
    "count": 1214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swissparl"
  },
  "_devurl": "https://github.com/zumbov2/swissparl",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/swissparl.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/zumbov2/swissparl",
  "_realowner": "zumbov2",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2019-12-16"
    },
    {
      "version": "0.2.1",
      "date": "2020-04-14"
    },
    {
      "version": "0.2.2",
      "date": "2021-11-02"
    },
    {
      "version": "0.3.0",
      "date": "2026-03-04"
    }
  ],
  "_exports": [
    "clean_text",
    "get_data",
    "get_data2",
    "get_glimpse",
    "get_glimpse2",
    "get_overview",
    "get_overview2",
    "get_related_data2",
    "get_related_tables2",
    "get_tables",
    "get_tables2",
    "get_variables",
    "get_variables2",
    "ggswissparl"
  ],
  "_datasets": [
    {
      "name": "seating_plan",
      "title": "Seating plan of the National Council",
      "object": "seating_plan",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SeatNumber",
        "order",
        "x",
        "y",
        "center_x",
        "center_y"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "clean_text",
      "title": "Clean texts retrieved from WebServices",
      "topics": [
        "clean_text"
      ]
    },
    {
      "page": "get_data",
      "title": "Retrieve data from WebServices",
      "topics": [
        "get_data"
      ]
    },
    {
      "page": "get_data2",
      "title": "Retrieve data from the OpenParlData.ch REST API",
      "topics": [
        "get_data2"
      ]
    },
    {
      "page": "get_glimpse",
      "title": "Retrieve the first rows of a table",
      "topics": [
        "get_glimpse"
      ]
    },
    {
      "page": "get_glimpse2",
      "title": "Retrieve the first rows of an OpenParlData resource",
      "topics": [
        "get_glimpse2"
      ]
    },
    {
      "page": "get_overview",
      "title": "Retrieve overview of all tables and variables",
      "topics": [
        "get_overview"
      ]
    },
    {
      "page": "get_overview2",
      "title": "Retrieve overview of all OpenParlData endpoints and fields",
      "topics": [
        "get_overview2"
      ]
    },
    {
      "page": "get_related_data2",
      "title": "Retrieve related data for an OpenParlData record",
      "topics": [
        "get_related_data2"
      ]
    },
    {
      "page": "get_related_tables2",
      "title": "List related tables available",
      "topics": [
        "get_related_tables2"
      ]
    },
    {
      "page": "get_tables",
      "title": "Retrieve available tables",
      "topics": [
        "get_tables"
      ]
    },
    {
      "page": "get_tables2",
      "title": "Retrieve available OpenParlData endpoints",
      "topics": [
        "get_tables2"
      ]
    },
    {
      "page": "get_variables",
      "title": "Retrieve available variables",
      "topics": [
        "get_variables"
      ]
    },
    {
      "page": "get_variables2",
      "title": "Retrieve available variables from an OpenParlData endpoint",
      "topics": [
        "get_variables2"
      ]
    },
    {
      "page": "ggswissparl",
      "title": "Plot voting results",
      "topics": [
        "ggswissparl"
      ]
    },
    {
      "page": "seating_plan",
      "title": "Seating plan of the National Council",
      "topics": [
        "seating_plan"
      ]
    }
  ],
  "_pkglogo": "https://github.com/zumbov2/swissparl/raw/HEAD/logo.png",
  "_readme": "https://github.com/zumbov2/swissparl/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 4.664002283356049,
  "_indexed": true,
  "_nocasepkg": "swissparl",
  "_universes": [
    "zumbov2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-08T07:54:07.000Z",
      "distro": "noble",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "ed95e9c8b0bcc414d78ccfea9d35d79007b5dd4796ee9eb4118f0489319dbb17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-08T07:53:15.000Z",
      "distro": "noble",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "ef36851123a8b2c9f48a54b92dfda7bbeafb17170dac7ca376e8ceb441a6b0b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-09T06:22:48.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "1c3d79bfa79e73611b15528e671b5c853fbd3e5b0e50407510a7246d51842fba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-06-09T05:59:45.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "03a75feaaa00af398f66370b3c8892d36057b7d40b00bfb76f813094025097d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-08T07:53:26.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "52393e91f13ba30c60bc9a1b5c0b48c5ec8bb29908199a8515345dd7fc62e3ed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-08T07:52:26.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "99ab61fa2420f0dc435aadf124c434f55fcf66e3b32d202e29df760b047e301a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-08T07:52:51.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "3c60287f8b27dcf9be211ee0afc1eee80e3bd806f50f25b5ab6232c4aa6219c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-06-08T07:53:16.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "a7a0dc00efc7c1a8801877c3a52da5dfc71c82037d82bbd1e62fb901ef89f0e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/27123377472"
    }
  ]
}