{
  "_id": "6ad4a2f6104c877e3b414e08",
  "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-10-18 10:35:24 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",
  "_user": "zumbov2",
  "_type": "src",
  "_file": "swissparl_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/974d16f04d32ad2f16f4dea9f98e0c11bdf343cfde85256c22c725b31396f865",
  "_filesize": 169999,
  "_sha256": "974d16f04d32ad2f16f4dea9f98e0c11bdf343cfde85256c22c725b31396f865",
  "_expires": "2027-01-26T10:44:05.000Z",
  "_created": "2026-10-18T10:35:24.000Z",
  "_published": "2026-10-18T10:44:06.798Z",
  "_buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117653122646,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12134036618"
    },
    {
      "job": 117653122543,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133891267"
    },
    {
      "job": 117653122557,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12134161729"
    },
    {
      "job": 117653122568,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133947751"
    },
    {
      "job": 117652603432,
      "time": 159,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133598527"
    },
    {
      "job": 117653122549,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12133128979"
    },
    {
      "job": 117653122546,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12133897086"
    },
    {
      "job": 117653122533,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12133364556"
    },
    {
      "job": 117653122530,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133737790"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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": 40,
  "_contributors": [
    {
      "user": "zumbov2",
      "count": 122,
      "uuid": 31518032
    }
  ],
  "_userbio": {
    "uuid": 31518032,
    "type": "user",
    "name": "David Zumbach",
    "followers": 88,
    "description": "Political Economist. Managing Partner and Head of Data Science at Grünenfelder Zumbach."
  },
  "_downloads": {
    "count": 1187,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swissparl"
  },
  "_devurl": "https://github.com/zumbov2/swissparl",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/swissparl.html",
    "LICENSE"
  ],
  "_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.676510710282554,
  "_indexed": true,
  "_nocasepkg": "swissparl",
  "_universes": [
    "zumbov2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-18T10:37:15.000Z",
      "distro": "resolute",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/e570b0c0ff9ec9e7e6c560aea6d41020845c7b41c2a6347aa2ec70b1244f4d28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-18T10:37:19.000Z",
      "distro": "resolute",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/5d75333ab0ce24b7b66c53212895cb731bb3ef88c1bad8b4643c2beada1c7e2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-18T10:42:17.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/fd0519510fd775b629c07c9a9150e0c094484bb143c70d4a2e9515f1cdbee653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-18T10:43:21.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/b935155a4e9a6806a12a53e37bd3d121b8e3ed18efbbd54ced2ac18a5bf84680",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-18T10:37:15.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/5e9a66c711d0957cbb20ac1ecb8f63e1305a858e1acce8e368420345b728dc2f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-18T10:36:30.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/a07c48066f29cd97725a32f8ef2e0a39d83e892bd402e24faeeb300697604fcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-18T10:36:29.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/52fb00f820d273500e5dd476e77d996a64973b7c1c039f304601dcead0aabd6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-18T10:36:30.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/2f7b60840fa3250b3905585a59f328f1d104fe16efefc63a44f330fd17f6daf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/39119679027"
    }
  ]
}