{
  "_id": "6a1f0fb6b401979e7341d63e",
  "Package": "partycoloR",
  "Type": "Package",
  "Title": "Extract Party Colors and Logos from Wikipedia",
  "Version": "0.3.0",
  "Authors@R": "person(\"Lukas\", \"Warode\",\nemail = \"lukas.warode@gmx.de\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Extract political party colors and logos from English\nWikipedia party pages. Provides functions to scrape party\ninfoboxes for color codes (HEX or HTML color names) and logo\nimages. Includes integration with the Party Facts database for\neasy party lookups. Designed for political scientists and party\nresearchers working with electoral and party data. For Party\nFacts, see Döring and Regel (2019)\n<doi:10.1177/1354068818820671> and Bederke, Döring, and Regel\n(2023) <doi:10.7910/DVN/TJINLQ>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://lwarode.github.io/partycoloR/,\nhttps://github.com/lwarode/partycoloR",
  "BugReports": "https://github.com/lwarode/partycoloR/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev",
  "Repository": "https://lwarode.r-universe.dev",
  "Date/Publication": "2026-02-16 11:24:04 UTC",
  "RemoteUrl": "https://github.com/lwarode/partycolor",
  "RemoteRef": "HEAD",
  "RemoteSha": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:30:19 UTC",
    "User": "root"
  },
  "Author": "Lukas Warode [aut, cre]",
  "Maintainer": "Lukas Warode <lukas.warode@gmx.de>",
  "MD5sum": "e7a0db7d909bfc600ded3ed67b17d4f5",
  "_user": "lwarode",
  "_type": "src",
  "_file": "partycoloR_0.3.0.tar.gz",
  "_fileid": "7982a3b339be70c0905eb09fc0fb9990119cbc1e70220931536a8890d8fa613f",
  "_filesize": 1276138,
  "_sha256": "7982a3b339be70c0905eb09fc0fb9990119cbc1e70220931536a8890d8fa613f",
  "_created": "2026-05-17T08:30:19.000Z",
  "_published": "2026-06-02T17:15:34.908Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79129537898,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040842160"
    },
    {
      "job": 79129538344,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040843055"
    },
    {
      "job": 79129538575,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040841992"
    },
    {
      "job": 79129538269,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040840758"
    },
    {
      "job": 79129536953,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040827566"
    },
    {
      "job": 79129537006,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364819714"
    },
    {
      "job": 79129537802,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040836387"
    },
    {
      "job": 79129538144,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040836966"
    },
    {
      "job": 79129537714,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040836062"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lwarode/partycolor",
  "_commit": {
    "id": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
    "author": "lwarode <lukas.warode@gmx.de>",
    "committer": "lwarode <lukas.warode@gmx.de>",
    "message": "Update to full Party Facts dataset (1,591 parties)\n\nGenerate complete bundled data from all Party Facts Wikipedia entries\ninstead of just priority countries.\n\nChanges:\n- Modified data-raw/update.R to scrape all 4,227 Party Facts entries\n- Successfully scraped 1,591 parties with color data (38% success rate)\n- Deduplicated from 1,634 to 1,591 unique parties\n- 1,591 parties with colors (100%)\n- 1,484 parties with logos (93%)\n- 178 countries represented\n- File size: 53 KB (well under CRAN 5MB limit)\n\nCoverage increased from 219 to 1,591 parties (~7x improvement).\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>\n",
    "time": 1771241044
  },
  "_maintainer": {
    "name": "Lukas Warode",
    "email": "lukas.warode@gmx.de",
    "login": "lwarode",
    "twitter": "@lukas_warode",
    "description": "PhD Student in Political Science",
    "uuid": 47723699
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "httr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "curl",
      "version": ">= 4.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "lwarode",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 9
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-02-16"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "lwarode",
      "count": 41,
      "uuid": 47723699
    }
  ],
  "_userbio": {
    "uuid": 47723699,
    "type": "user",
    "name": "Lukas Warode",
    "description": "PhD Student in Political Science"
  },
  "_downloads": {
    "count": 173,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/partycoloR"
  },
  "_devurl": "https://github.com/lwarode/partycolor",
  "_pkgdown": "https://lwarode.github.io/partycoloR/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/partycoloR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lwarode/partycolor",
  "_realowner": "lwarode",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-01-27"
    }
  ],
  "_exports": [
    "clear_partycolor_cache",
    "download_party_logo",
    "get_party_color",
    "get_party_color_by_name",
    "get_party_info",
    "get_party_info_by_name",
    "get_party_logo",
    "get_party_logo_by_name",
    "get_partyfacts_wikipedia",
    "lookup_party_url",
    "wikipedia_party_color"
  ],
  "_datasets": [
    {
      "name": "party_data",
      "title": "Bundled party colors and logos dataset",
      "object": "party_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "url",
        "color",
        "all_colors",
        "logo_url",
        "last_updated"
      ],
      "rows": 1591,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "clear_partycolor_cache",
      "title": "Clear the partycoloR cache",
      "topics": [
        "clear_partycolor_cache"
      ]
    },
    {
      "page": "download_party_logo",
      "title": "Download party logo image",
      "topics": [
        "download_party_logo"
      ]
    },
    {
      "page": "get_party_color",
      "title": "Extract party color from Wikipedia",
      "topics": [
        "get_party_color"
      ]
    },
    {
      "page": "get_party_color_by_name",
      "title": "Get party color by name",
      "topics": [
        "get_party_color_by_name"
      ]
    },
    {
      "page": "get_party_info",
      "title": "Extract party information from Wikipedia",
      "topics": [
        "get_party_info"
      ]
    },
    {
      "page": "get_party_info_by_name",
      "title": "Get party info by name",
      "topics": [
        "get_party_info_by_name"
      ]
    },
    {
      "page": "get_party_logo",
      "title": "Extract party logo URL from Wikipedia",
      "topics": [
        "get_party_logo"
      ]
    },
    {
      "page": "get_party_logo_by_name",
      "title": "Get party logo by name",
      "topics": [
        "get_party_logo_by_name"
      ]
    },
    {
      "page": "get_partyfacts_wikipedia",
      "title": "Download Partyfacts Wikipedia data",
      "topics": [
        "get_partyfacts_wikipedia"
      ]
    },
    {
      "page": "lookup_party_url",
      "title": "Look up party Wikipedia URL",
      "topics": [
        "lookup_party_url"
      ]
    },
    {
      "page": "party_data",
      "title": "Bundled party colors and logos dataset",
      "topics": [
        "party_data"
      ]
    },
    {
      "page": "wikipedia_party_color",
      "title": "Extract party colors from Wikipedia (legacy function)",
      "topics": [
        "wikipedia_party_color"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lwarode/partycolor/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lwarode/partycolor/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "rvest",
    "selectr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "partycoloR_vignette.Rmd",
      "filename": "partycoloR_vignette.html",
      "title": "Getting Started with partycoloR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic Usage",
        "Extracting Party Colors",
        "Extracting Multiple Colors",
        "Extracting Party Logos",
        "Downloading Party Logos",
        "Getting Both at Once",
        "Working with dplyr",
        "Working with Multiple Colors",
        "Using Party Facts Integration",
        "Download Party Facts Data",
        "Look Up Parties by Name",
        "Convenience Function",
        "Visualization Example",
        "Error Handling",
        "Caching and Bundled Data",
        "Bundled Party Data",
        "Party Facts Data Caching",
        "Tips and Best Practices",
        "Related Resources"
      ],
      "created": "2020-07-30 17:30:40",
      "modified": "2026-02-16 10:00:28",
      "commits": 9
    }
  ],
  "_score": 5.079181246047625,
  "_indexed": true,
  "_nocasepkg": "partycolor",
  "_universes": [
    "lwarode"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-17T08:32:28.000Z",
      "distro": "noble",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "b7b1a227bcba82e55a0fbc848f9d496cb73e30fd1e998e08b369b4f7d0eb9955",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-17T08:32:35.000Z",
      "distro": "noble",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "e4e858edd323cb032ac22a21cae3194184dcddd6854d0c580fcf25e98473d79a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-17T08:32:23.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "d459113d83a61c1082998999beb8e980d058e749c80c09f6deec9c4a606e372c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-17T08:32:15.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "25f2225f4596e202e16d69019bca415796d5de0ec29cb70b5ec40dc927ef07e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-17T08:31:29.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "474e07d8751bb6ac80288b9871f0baf91368ab2e06b945aa14662bbe6ed77327",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-17T08:31:34.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "f120a889d9bb7fbea8f298ea48ddd8e910fe7e5b2f8aa791fa096515f989b081",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-17T08:31:24.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "2e8577c622a5ea76320e1f9c4cdb8cd0461e755c7f5d32eca233d0f606a6b411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-02T17:15:16.000Z",
      "commit": "bc1567899c762ac4d31f67349c4e22e3f4da0c39",
      "fileid": "c85869a30b98187b99edae6f5b95c1c4fa080a9aca0e4be8384f745c7d1155de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lwarode/actions/runs/25985854617"
    }
  ]
}