{
  "_id": "6afc628d117874b00e23c241",
  "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-11-17 13:59:14 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/b57f7a3219458962c604458eb027286193743ae2cca0890cdf10342512780741",
  "_filesize": 169983,
  "_sha256": "b57f7a3219458962c604458eb027286193743ae2cca0890cdf10342512780741",
  "_expires": "2027-02-25T14:19:55.000Z",
  "_created": "2026-11-17T13:59:14.000Z",
  "_published": "2026-11-20T04:13:28.374Z",
  "_upstream": "https://github.com/zumbov2/swissparl",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 134091185484,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14334513246"
    },
    {
      "job": 134091184106,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14335515955"
    },
    {
      "job": 134091183881,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14335103103"
    },
    {
      "job": 134091186313,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14334839592"
    },
    {
      "job": 134089225395,
      "time": 197,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14334232773"
    },
    {
      "job": 134091185314,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14333853976"
    },
    {
      "job": 134091186642,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14333844868"
    },
    {
      "job": 134091185517,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14334418892"
    },
    {
      "job": 134091184071,
      "time": 73,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14335730550"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 90,
    "description": "Political Economist. Managing Partner and Head of Data Science at Grünenfelder Zumbach."
  },
  "_downloads": {
    "count": 1265,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swissparl"
  },
  "_devurl": "https://github.com/zumbov2/swissparl",
  "_rbuild": "4.6.2",
  "_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.704150516839799,
  "_indexed": true,
  "_nocasepkg": "swissparl",
  "_universes": [
    "zumbov2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-17T14:01:22.000Z",
      "distro": "resolute",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/b9fb8eb01c0b33539f9ee6daf9001bfa20b54faa914d0bbe9233f6ed43486a3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-17T14:01:12.000Z",
      "distro": "resolute",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/e001965f81cc2fb27495827a501d4d3a556c61ca910921b52495edcdd0c5b3ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-17T14:12:06.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/1846de7f28c23fd4c4053aac5098bd1ebe61a9c641baa6d78b0ad54558f74d25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-17T14:19:08.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/a876a1b3e2a79ca676bed8fb14acded3ebe0e1e117fd69edc3879feb3cb4218e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-11-17T14:01:09.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/fdd368c70f34377767e1d10a25439d670ddc8ed6d8287190e1a8f79acbf8e617",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-17T14:00:32.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/23d6b0acabd1d55735e7807c21538c024c19ded1e4c02a9766a84e48b0c3e2fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-17T14:00:30.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/1adffffa49feec10fe79a141a188ef72ebaafbc6461e8e4d1aae336e8f158070",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-17T14:00:18.000Z",
      "commit": "d42fac5e0e7846a0aa6b51ba5ad06c374a44ea7c",
      "fileid": "https://r2.ropensci.org/e8d087f0d5dbbeec73b3b640950817620ae6d92281bf4fc7dd6df76a2e7b56dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zumbov2/actions/runs/44097660241"
    }
  ]
}