{
  "_id": "6a12cba0acfb0bcc41d213fa",
  "Package": "auspol",
  "Title": "Australian Federal Election Results (2004-2022)",
  "Version": "0.0.1.0004",
  "Authors@R": "c(\nperson(\"Carlos\", \"Yáñez Santibáñez\", , \"carlos.yanez.s@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(given=\"Craig\", family=\"Alexander\", email= \"Craig.Alexander.2@glasgow.ac.uk\", role=c(\"ths\")),\nperson(given=\"Kyle\", family=\"Walker\", email=\"kyle@walker-data.com\", role=c(\"cph\")),\nperson(\"Australian Electoral Commission\", role = c(\"cph\"))\n)",
  "Description": "Retrieve Australian Federal Election results for House of\nRepresentatives and Senate, from 2004 onwards.",
  "URL": "https://carlosyanez.github.io/auspol/",
  "License": "MIT + file LICENSE",
  "BugReports": "https://github.com/carlosyanez/auspol/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Collate": "'cache_management.R' 'internal.R' 'house_get_data.R'\n'house_preferences_data.R' 'house_preferences_plots.R'\n'house_primary_vote_summary_data.R'\n'house_primary_vote_summary_plots.R' 'house_results_plots.R'\n'lists.R' 'onLoad.R' 'plotting.R'",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake git make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://carlosyanez.r-universe.dev",
  "Date/Publication": "2025-04-29 20:31:08 UTC",
  "RemoteUrl": "https://github.com/carlosyanez/auspol",
  "RemoteRef": "HEAD",
  "RemoteSha": "b116986072cbfd3284a8eb4e6876f70e8910a778",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 09:54:13 UTC",
    "User": "root"
  },
  "Author": "Carlos Yáñez Santibáñez [aut, cre],\nCraig Alexander [ths],\nKyle Walker [cph],\nAustralian Electoral Commission [cph]",
  "Maintainer": "Carlos Yáñez Santibáñez <carlos.yanez.s@gmail.com>",
  "MD5sum": "1046e7473f86d3e76b2d0d4d7ff54d0c",
  "_user": "carlosyanez",
  "_type": "src",
  "_file": "auspol_0.0.1.0004.tar.gz",
  "_fileid": "74ee3f92bb17f60a01c218c6669827e16f5a89e478b4a4ff809dbf922cbf5bb0",
  "_filesize": 927613,
  "_sha256": "74ee3f92bb17f60a01c218c6669827e16f5a89e478b4a4ff809dbf922cbf5bb0",
  "_created": "2026-05-24T09:54:13.000Z",
  "_published": "2026-05-24T09:57:52.145Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77588463623,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7184198658"
    },
    {
      "job": 77588463624,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7184203288"
    },
    {
      "job": 77588463610,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7184196592"
    },
    {
      "job": 77588463613,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7184197067"
    },
    {
      "job": 77588285313,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184184592"
    },
    {
      "job": 77588463609,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184196488"
    },
    {
      "job": 77588463616,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7184194909"
    },
    {
      "job": 77588463615,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7184194573"
    },
    {
      "job": 77588463617,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7184195554"
    }
  ],
  "_buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/carlosyanez/auspol",
  "_commit": {
    "id": "b116986072cbfd3284a8eb4e6876f70e8910a778",
    "author": "Carlos Yáñez Santibáñez <carlos.yanez.s@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update _pkgdown.yml",
    "time": 1745958668
  },
  "_maintainer": {
    "name": "Carlos Yáñez Santibáñez",
    "email": "carlos.yanez.s@gmail.com",
    "login": "carlosyanez",
    "description": "",
    "uuid": 22521
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "ggpackets",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggalluvial",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "piggyback",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "zip",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "carlosyanez",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "auspol",
    "australia",
    "data",
    "elections",
    "politics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "carlosyanez",
      "count": 75,
      "uuid": 22521
    },
    {
      "user": "dgkf",
      "count": 1,
      "uuid": 18220321
    }
  ],
  "_userbio": {
    "uuid": 22521,
    "type": "user",
    "name": "Carlos Yáñez Santibáñez "
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/auspol"
  },
  "_devurl": "https://github.com/carlosyanez/auspol",
  "_pkgdown": "https://carlosyanez.github.io/auspol/",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/auspol.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "auspol_theme",
    "data_delete",
    "data_import",
    "data_info",
    "data_update",
    "find_cache",
    "geom_auspol_bar",
    "geom_auspol_line",
    "geom_auspol_lollipop",
    "get_house_2PF",
    "get_house_2PP",
    "get_house_MPs",
    "get_house_preferences",
    "get_house_primary_vote",
    "get_house_turnout",
    "get_MPs",
    "get_preferences",
    "house_2PF_plot",
    "house_2PP_comparison_plot",
    "house_2PP_historical_plot",
    "house_preference_flow_data",
    "house_preference_flow_plot",
    "house_primary_comparison_plot",
    "house_primary_historic_plot",
    "house_primary_vote_summary",
    "house_results_historic",
    "house_results_tally",
    "list_divisions",
    "list_parties",
    "list_polling_places",
    "list_years",
    "manage_colours",
    "party_colours"
  ],
  "_help": [
    {
      "page": "auspol_theme",
      "title": "Helper function generate colour palette",
      "topics": [
        "auspol_theme"
      ]
    },
    {
      "page": "data_delete",
      "title": "Helper function to update/download data",
      "topics": [
        "data_delete"
      ]
    },
    {
      "page": "data_import",
      "title": "Helper function to update/download data",
      "topics": [
        "data_import"
      ]
    },
    {
      "page": "data_info",
      "title": "Helper function to update/download data",
      "topics": [
        "data_info"
      ]
    },
    {
      "page": "data_update",
      "title": "Helper function to update/download data",
      "topics": [
        "data_update"
      ]
    },
    {
      "page": "find_cache",
      "title": "Helper function to find cache folder",
      "topics": [
        "find_cache"
      ]
    },
    {
      "page": "geom_auspol_bar",
      "title": "Bar chart, customised for this package.",
      "topics": [
        "geom_auspol_bar"
      ]
    },
    {
      "page": "geom_auspol_line",
      "title": "Line chart, customised for this package.",
      "topics": [
        "geom_auspol_line"
      ]
    },
    {
      "page": "geom_auspol_lollipop",
      "title": "Lollipop or bar chart, custommised for this package.",
      "topics": [
        "geom_auspol_lollipop"
      ]
    },
    {
      "page": "get_house_2PF",
      "title": "Two-party preferred flow",
      "topics": [
        "get_house_2PF"
      ]
    },
    {
      "page": "get_house_2PP",
      "title": "Two-party-preferred summary",
      "topics": [
        "get_house_2PP"
      ]
    },
    {
      "page": "get_house_MPs",
      "title": "Elected MPs",
      "topics": [
        "get_house_MPs",
        "get_MPs"
      ]
    },
    {
      "page": "get_house_preferences",
      "title": "Preferences",
      "topics": [
        "get_house_preferences",
        "get_preferences"
      ]
    },
    {
      "page": "get_house_primary_vote",
      "title": "Primary vote for House Elections",
      "topics": [
        "get_house_primary_vote"
      ]
    },
    {
      "page": "get_house_turnout",
      "title": "Election turn out",
      "topics": [
        "get_house_turnout"
      ]
    },
    {
      "page": "house_2PF_plot",
      "title": "Preferences flow from primary to finalists",
      "topics": [
        "house_2PF_plot"
      ]
    },
    {
      "page": "house_2PP_comparison_plot",
      "title": "Two Party-Preferred Comparison",
      "topics": [
        "house_2PP_comparison_plot"
      ]
    },
    {
      "page": "house_2PP_historical_plot",
      "title": "Two Party-Preferred Comparison",
      "topics": [
        "house_2PP_historical_plot"
      ]
    },
    {
      "page": "house_preference_flow_data",
      "title": "Flow of preferences in a division.",
      "topics": [
        "house_preference_flow_data"
      ]
    },
    {
      "page": "house_preference_flow_plot",
      "title": "Plot House of reps preferences flow",
      "topics": [
        "house_preference_flow_plot"
      ]
    },
    {
      "page": "house_primary_comparison_plot",
      "title": "Plot historical changes in primary vote",
      "topics": [
        "house_primary_comparison_plot"
      ]
    },
    {
      "page": "house_primary_historic_plot",
      "title": "Plot primary vote history",
      "topics": [
        "house_primary_historic_plot"
      ]
    },
    {
      "page": "house_primary_vote_summary",
      "title": "Helper function to download data",
      "topics": [
        "house_primary_vote_summary"
      ]
    },
    {
      "page": "house_results_historic",
      "title": "Historic Resuls",
      "topics": [
        "house_results_historic"
      ]
    },
    {
      "page": "house_results_tally",
      "title": "Election Tally",
      "topics": [
        "house_results_tally"
      ]
    },
    {
      "page": "list_divisions",
      "title": "Get list of divisions",
      "topics": [
        "list_divisions"
      ]
    },
    {
      "page": "list_parties",
      "title": "List all political parties.",
      "topics": [
        "list_parties"
      ]
    },
    {
      "page": "list_polling_places",
      "title": "List all polling stations",
      "topics": [
        "list_polling_places"
      ]
    },
    {
      "page": "list_years",
      "title": "Get election years.",
      "topics": [
        "list_years"
      ]
    },
    {
      "page": "manage_colours",
      "title": "Helper function generate colour palette",
      "topics": [
        "manage_colours"
      ]
    },
    {
      "page": "party_colours",
      "title": "Named vector with common party colours, with option to add custom/additional values",
      "topics": [
        "party_colours"
      ]
    }
  ],
  "_pkglogo": "https://github.com/carlosyanez/auspol/raw/HEAD/img/bbox_ghcard.png",
  "_readme": "https://github.com/carlosyanez/auspol/raw/HEAD/README.md",
  "_rundeps": [
    "arrow",
    "askpass",
    "assertthat",
    "bit",
    "bit64",
    "cachem",
    "cli",
    "cpp11",
    "curl",
    "dplyr",
    "farver",
    "fastmap",
    "forcats",
    "fs",
    "generics",
    "ggalluvial",
    "ggpackets",
    "ggplot2",
    "ggrepel",
    "gh",
    "gitcreds",
    "glue",
    "gtable",
    "httr",
    "httr2",
    "ini",
    "isoband",
    "jsonlite",
    "labeling",
    "lazyeval",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "piggyback",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "house_elected.Rmd",
      "filename": "house_elected.html",
      "title": "Elected MPs",
      "author": "Carlos YANEZ SANTIBANEZ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Getting the data",
        "Plotting"
      ],
      "created": "2022-11-14 03:54:06",
      "modified": "2022-11-27 23:18:02",
      "commits": 3
    },
    {
      "source": "house_getting_data.Rmd",
      "filename": "house_getting_data.html",
      "title": "House of Representatives - Get the data",
      "author": "Carlos YANEZ SANTIBANEZ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Primary Vote",
        "Preferences",
        "Elected MPs",
        "Turnout"
      ],
      "created": "2022-11-11 07:02:01",
      "modified": "2022-11-27 23:18:02",
      "commits": 5
    },
    {
      "source": "house_preference_flow.Rmd",
      "filename": "house_preference_flow.html",
      "title": "House of Representatives - Preferences",
      "author": "Carlos YANEZ SANTIBANEZ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is this?",
        "Getting the data",
        "Plotting Preference flows.",
        "Flow from primary vote to last round",
        "Two-party preferred"
      ],
      "created": "2022-11-07 12:57:17",
      "modified": "2022-11-27 23:18:02",
      "commits": 13
    },
    {
      "source": "house_primary_vote.Rmd",
      "filename": "house_primary_vote.html",
      "title": "House of Representatives - Primary Vote",
      "author": "Carlos YANEZ SANTIBANEZ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is this?",
        "Getting the data",
        "Plotting",
        "Historic Trends",
        "Results for one election"
      ],
      "created": "2022-11-07 12:57:17",
      "modified": "2022-11-27 23:18:02",
      "commits": 12
    },
    {
      "source": "lists.Rmd",
      "filename": "lists.html",
      "title": "Listing the essential data",
      "author": "Carlos YANEZ SANTIBANEZ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Years and divisions",
        "Political Parties",
        "Polling places"
      ],
      "created": "2022-11-08 12:48:53",
      "modified": "2022-11-27 23:18:02",
      "commits": 8
    }
  ],
  "_score": 3.845098040014257,
  "_indexed": true,
  "_nocasepkg": "auspol",
  "_universes": [
    "carlosyanez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:56:05.000Z",
      "distro": "noble",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "7f88cf5fc3970ce1f4bdd4f53fd8d49ef79d845e5b5ab61119898b3ec1380cf6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:56:35.000Z",
      "distro": "noble",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "783a942a3055bc4f9aad0a343588fd2a4c9ad1566ea58a4171ac0297eb1bc5f9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:55:50.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "af609362fbf129dd66a29dad9e4202a0886844155cfb8f2cc42a33983069206a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:55:58.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "25329c392bcf843c1cf54da59e6d43f7bf3f20b273bd6da83c88e684c8033b83",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:56:28.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "19b14f7df61e166cde6c99f8991cf30898094f0a68c850653ea5e10c763d7932",
      "status": "success",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:55:30.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "3ffaba6908d2d5b8ab6da34495bd870c617cfc6dc1968ef16d31acfa73ea8a78",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:55:23.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "c53061b23878f3ad2c5618913436a100febbb5433086c273d7251fd5cb81c6db",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1.0004",
      "date": "2026-05-24T09:55:26.000Z",
      "commit": "b116986072cbfd3284a8eb4e6876f70e8910a778",
      "fileid": "506bff5f43f3e164a1435a7ab1d6b479d42906a9ac96e2637174a3285b06e766",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/carlosyanez/actions/runs/26358032385"
    }
  ]
}