{
  "_id": "6a23e91d530b9bc726be98e5",
  "Package": "socialranking",
  "Title": "Social Ranking Solutions for Power Relations on Coalitions",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(\"Felix\", \"Fritz\", email = \"felix.fritz@dauphine.eu\", role = c(\"aut\", \"cre\")),\nperson(\"Jochen\", \"Staudacher\", role = c(\"aut\", \"cph\", \"ths\"), email = \"jochen.staudacher@hs-kempten.de\"),\nperson(\"Moretti\", \"Stefano\", role = c(\"aut\", \"cph\", \"ths\"), email = \"stefano.moretti@lamsade.dauphine.fr\"))",
  "Maintainer": "Felix Fritz <felix.fritz@dauphine.eu>",
  "Description": "The notion of power index has been widely used in\nliterature to evaluate the influence of individual players\n(e.g., voters, political parties, nations, stockholders, etc.)\ninvolved in a collective decision situation like an electoral\nsystem, a parliament, a council, a management board, etc.,\nwhere players may form coalitions. Traditionally this ranking\nis determined through numerical evaluation. More often than not\nhowever only ordinal data between coalitions is known. The\npackage 'socialranking' offers a set of solutions to rank\nplayers based on a transitive ranking between coalitions,\nincluding through CP-Majority, ordinal Banzhaf or lexicographic\nexcellence solution summarized by Tahar Allouche, Bruno\nEscoffier, Stefano Moretti and Meltem Öztürk (2020,\n<doi:10.24963/ijcai.2020/3>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "RdMacros": "Rdpack",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/jassler/socialranking",
  "BugReports": "https://github.com/jassler/socialranking/issues",
  "Repository": "https://jassler.r-universe.dev",
  "Date/Publication": "2025-03-14 09:05:22 UTC",
  "RemoteUrl": "https://github.com/jassler/socialranking",
  "RemoteRef": "HEAD",
  "RemoteSha": "db271fe7a9476773615946de1c9dae353161d091",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 09:28:46 UTC",
    "User": "root"
  },
  "Author": "Felix Fritz [aut, cre],\nJochen Staudacher [aut, cph, ths],\nMoretti Stefano [aut, cph, ths]",
  "MD5sum": "b8d69a66e62d74cbb871d4fc17874417",
  "_user": "jassler",
  "_type": "src",
  "_file": "socialranking_1.2.0.tar.gz",
  "_fileid": "a51839d925ca04f32cae232461c6ed2c355bb810b5b936f2a840698a25ffa6ee",
  "_filesize": 914221,
  "_sha256": "a51839d925ca04f32cae232461c6ed2c355bb810b5b936f2a840698a25ffa6ee",
  "_created": "2026-06-06T09:28:46.000Z",
  "_published": "2026-06-06T09:32:13.621Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79867594504,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453264412"
    },
    {
      "job": 79867594514,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453263928"
    },
    {
      "job": 79867594517,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453266415"
    },
    {
      "job": 79867594513,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453262856"
    },
    {
      "job": 79867441079,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453250393"
    },
    {
      "job": 79867594521,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453262222"
    },
    {
      "job": 79867594529,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453259723"
    },
    {
      "job": 79867594532,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453258270"
    },
    {
      "job": 79867594530,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453260404"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jassler/socialranking",
  "_commit": {
    "id": "db271fe7a9476773615946de1c9dae353161d091",
    "author": "jassler <felix.w.fritz@gmail.com>",
    "committer": "jassler <felix.w.fritz@gmail.com>",
    "message": "Fix appendMissingCoalitions when there are no coalitions to add\n",
    "time": 1741943122
  },
  "_maintainer": {
    "name": "Felix Fritz",
    "email": "felix.fritz@dauphine.eu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "relations",
      "version": ">= 0.6.13",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.4",
      "role": "Imports"
    },
    {
      "package": "clipr",
      "version": ">= 0.8",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.2",
      "role": "Suggests"
    },
    {
      "package": "xfun",
      "version": ">= 0.30.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.40",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.17",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "version": ">= 3.6.1",
      "role": "Suggests"
    },
    {
      "package": "partitions",
      "version": ">= 1.10.7",
      "role": "Suggests"
    }
  ],
  "_owner": "jassler",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "dauphineweb",
      "count": 60,
      "uuid": 123160239
    },
    {
      "user": "jassler",
      "count": 40,
      "uuid": 24298790
    }
  ],
  "_userbio": {
    "uuid": 24298790,
    "type": "user",
    "name": "jassler"
  },
  "_downloads": {
    "count": 169,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/socialranking"
  },
  "_devurl": "https://github.com/jassler/socialranking",
  "_searchresults": 8,
  "_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/readme.html",
    "extra/readme.md",
    "extra/socialranking.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jassler/socialranking",
  "_realowner": "jassler",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-03-30"
    },
    {
      "version": "0.1.1",
      "date": "2022-04-25"
    },
    {
      "version": "0.1.2",
      "date": "2022-10-28"
    },
    {
      "version": "1.0.0",
      "date": "2023-03-13"
    },
    {
      "version": "1.0.1",
      "date": "2023-08-24"
    },
    {
      "version": "1.1.0",
      "date": "2023-11-29"
    },
    {
      "version": "1.2.0",
      "date": "2024-05-16"
    }
  ],
  "_exports": [
    "%:%",
    "%>=banz%",
    "%>=cop%",
    "%>=cp%",
    "%>=cumuldom%",
    "%>=dom%",
    "%>=duallex%",
    "%>=ks%",
    "%>=L1%",
    "%>=L2%",
    "%>=lex%",
    "%>=LP%",
    "%>=LPS%",
    "%>banz%",
    "%>cop%",
    "%>cp%",
    "%>cumuldom%",
    "%>dom%",
    "%>duallex%",
    "%>ks%",
    "%>L1%",
    "%>L2%",
    "%>lex%",
    "%>LP%",
    "%>LPS%",
    "appendMissingCoalitions",
    "as.PowerRelation",
    "coalitionLookup",
    "coalitionsAreIndifferent",
    "copelandRanking",
    "copelandScores",
    "cpMajorityComparison",
    "cpMajorityComparisonScore",
    "createPowerset",
    "cumulativelyDominates",
    "cumulativeScores",
    "dominates",
    "doRanking",
    "dualLexcelRanking",
    "elementLookup",
    "equivalenceClassIndex",
    "generateNextPartition",
    "generateRandomPowerRelation",
    "is.PowerRelation",
    "kramerSimpsonRanking",
    "kramerSimpsonScores",
    "L1Ranking",
    "L1Scores",
    "L2Ranking",
    "L2Scores",
    "lexcel1Ranking",
    "lexcel1Scores",
    "lexcel2Ranking",
    "lexcel2Scores",
    "lexcelPRanking",
    "lexcelPScores",
    "lexcelPSRanking",
    "lexcelPSScores",
    "lexcelRanking",
    "lexcelScores",
    "LPRanking",
    "LPScores",
    "LPSRanking",
    "LPSScores",
    "makePowerRelationMonotonic",
    "newPowerRelation",
    "newPowerRelationFromString",
    "ordinalBanzhafRanking",
    "ordinalBanzhafScores",
    "PowerRelation",
    "powerRelationGenerator",
    "powerRelationMatrix",
    "SocialRanking",
    "testRelation",
    "transitiveClosure"
  ],
  "_help": [
    {
      "page": "appendMissingCoalitions",
      "title": "Append missing coalitions",
      "concept": [
        "helper functions for transforming power relations"
      ],
      "topics": [
        "appendMissingCoalitions"
      ]
    },
    {
      "page": "as.PowerRelation",
      "title": "Create PowerRelation object",
      "topics": [
        "as.PowerRelation",
        "as.PowerRelation.character",
        "as.PowerRelation.list"
      ]
    },
    {
      "page": "coalitionsAreIndifferent",
      "title": "Are coalitions indifferent",
      "concept": [
        "lookup functions"
      ],
      "topics": [
        "coalitionsAreIndifferent"
      ]
    },
    {
      "page": "copelandScores",
      "title": "Copeland-like method",
      "concept": [
        "CP-majority based functions",
        "ranking solution functions"
      ],
      "topics": [
        "copelandRanking",
        "copelandScores"
      ]
    },
    {
      "page": "cpMajorityComparison",
      "title": "CP-Majority relation",
      "concept": [
        "CP-majority based functions"
      ],
      "topics": [
        "cpMajorityComparison",
        "cpMajorityComparisonScore"
      ]
    },
    {
      "page": "createPowerset",
      "title": "Create powerset",
      "topics": [
        "createPowerset"
      ]
    },
    {
      "page": "cumulativeScores",
      "title": "Cumulative scores",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "cumulativelyDominates",
        "cumulativeScores"
      ]
    },
    {
      "page": "dominates",
      "title": "Dominance",
      "topics": [
        "dominates"
      ]
    },
    {
      "page": "doRanking",
      "title": "Create a 'SocialRanking' object",
      "topics": [
        "doRanking"
      ]
    },
    {
      "page": "elementLookup",
      "title": "Element lookup",
      "concept": [
        "lookup functions"
      ],
      "topics": [
        "elementLookup"
      ]
    },
    {
      "page": "equivalenceClassIndex",
      "title": "Get index of equivalence class containing a coalition",
      "concept": [
        "lookup functions"
      ],
      "topics": [
        "coalitionLookup",
        "equivalenceClassIndex"
      ]
    },
    {
      "page": "kramerSimpsonScores",
      "title": "Kramer-Simpson-like method",
      "concept": [
        "CP-majority based functions",
        "ranking solution functions"
      ],
      "topics": [
        "kramerSimpsonRanking",
        "kramerSimpsonScores"
      ]
    },
    {
      "page": "L1Scores",
      "title": "L1 Ranking",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "L1Ranking",
        "L1Scores",
        "lexcel1Ranking",
        "lexcel1Scores"
      ]
    },
    {
      "page": "L2Scores",
      "title": "L2 Ranking",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "L2Ranking",
        "L2Scores",
        "lexcel2Ranking",
        "lexcel2Scores"
      ]
    },
    {
      "page": "lexcelScores",
      "title": "Lexicographical Excellence",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "dualLexcelRanking",
        "lexcelRanking",
        "lexcelScores"
      ]
    },
    {
      "page": "LpScores",
      "title": "LP Ranking",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "lexcelPRanking",
        "lexcelPScores",
        "LPRanking",
        "LPScores"
      ]
    },
    {
      "page": "LPSScores",
      "title": "LP* Ranking",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "lexcelPSRanking",
        "lexcelPSScores",
        "LPSRanking",
        "LPSScores"
      ]
    },
    {
      "page": "makePowerRelationMonotonic",
      "title": "Make Power Relation monotonic",
      "concept": [
        "helper functions for transforming power relations"
      ],
      "topics": [
        "makePowerRelationMonotonic"
      ]
    },
    {
      "page": "newPowerRelation",
      "title": "New Power Relation",
      "topics": [
        "newPowerRelation"
      ]
    },
    {
      "page": "newPowerRelationFromString",
      "title": "New 'PowerRelation' object",
      "topics": [
        "newPowerRelationFromString"
      ]
    },
    {
      "page": "ordinalBanzhafScores",
      "title": "Ordinal Banzhaf ranking",
      "concept": [
        "ranking solution functions"
      ],
      "topics": [
        "ordinalBanzhafRanking",
        "ordinalBanzhafScores"
      ]
    },
    {
      "page": "PowerRelation",
      "title": "PowerRelation object",
      "topics": [
        "is.PowerRelation",
        "PowerRelation",
        "print.PowerRelation"
      ]
    },
    {
      "page": "powerRelationGenerator",
      "title": "Generate power relations",
      "concept": [
        "generator functions"
      ],
      "topics": [
        "generateNextPartition",
        "generateRandomPowerRelation",
        "powerRelationGenerator"
      ]
    },
    {
      "page": "powerRelationMatrix",
      "title": "Create relation matrix",
      "topics": [
        "as.relation.PowerRelation",
        "powerRelationMatrix"
      ]
    },
    {
      "page": "socialranking",
      "title": "'SocialRanking' object",
      "topics": [
        "SocialRanking"
      ]
    },
    {
      "page": "testRelation",
      "title": "Test relation between two elements",
      "topics": [
        "%:%",
        "%>=banz%",
        "%>=cop%",
        "%>=cp%",
        "%>=cumuldom%",
        "%>=dom%",
        "%>=duallex%",
        "%>=ks%",
        "%>=L1%",
        "%>=L2%",
        "%>=lex%",
        "%>=LP%",
        "%>=LPS%",
        "%>banz%",
        "%>cop%",
        "%>cp%",
        "%>cumuldom%",
        "%>dom%",
        "%>duallex%",
        "%>ks%",
        "%>L1%",
        "%>L2%",
        "%>lex%",
        "%>LP%",
        "%>LPS%",
        "testRelation"
      ]
    },
    {
      "page": "transitiveClosure",
      "title": "Transitive Closure",
      "topics": [
        "transitiveClosure"
      ]
    }
  ],
  "_readme": "https://github.com/jassler/socialranking/raw/HEAD/README.md",
  "_rundeps": [
    "cluster",
    "rbibutils",
    "Rdpack",
    "relations",
    "rlang",
    "sets",
    "slam"
  ],
  "_vignettes": [
    {
      "source": "socialranking_pdf.Rmd",
      "filename": "socialranking_pdf.html",
      "title": "socialranking: A package for evaluating ordinal power relations in cooperative game theory",
      "author": "| Jochen Staudacher, Stefano Moretti, Felix Fritz | (Hochschule Kempten, Université Paris Dauphine) | Contact: felix.fritz@dauphine.eu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Quick start",
        "PowerRelation objects",
        "Creating PowerRelation objects",
        "Manipulating PowerRelation objects",
        "appendMissingCoalitions()",
        "makePowerRelationMonotonic()",
        "Creating power sets",
        "Generating PowerRelation objects",
        "SocialRanking Objects",
        "Creating SocialRanking objects\\label",
        "Comparison Functions",
        "Dominance",
        "Cumulative Dominance",
        "CP-Majority comparison",
        "Social Ranking Solutions",
        "Ordinal Banzhaf",
        "Copeland-like method",
        "Kramer-Simpson-like method",
        "Lexcel and Dual Lexcel",
        "Lexicographical Excellence Solution",
        "Dual Lexicographical Excellence Solution",
        "$L^{(1)}$, $L^{(2)}$, $L^p$, $L^{p^*}$",
        "$L^",
        "$L^",
        "$L^p$",
        "$L^",
        "Relations",
        "Incidence Matrix\\label",
        "Cycles and Transitive Closure",
        "Bibliography"
      ],
      "created": "2022-10-26 16:03:18",
      "modified": "2024-05-16 13:43:19",
      "commits": 13
    },
    {
      "source": "socialranking.Rmd",
      "filename": "socialranking.html",
      "title": "socialranking: A package for evaluating ordinal power relations in cooperative game theory",
      "author": "| Jochen Staudacher, Stefano Moretti, Felix Fritz | (Hochschule Kempten, Université Paris Dauphine) | Contact: felix.fritz@dauphine.eu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Quick start",
        "PowerRelation objects",
        "Creating PowerRelation objects",
        "Manipulating PowerRelation objects",
        "appendMissingCoalitions()",
        "makePowerRelationMonotonic()",
        "Creating power sets",
        "Generating PowerRelation objects",
        "SocialRanking Objects",
        "Creating SocialRanking objects\\label",
        "Comparison Functions",
        "Dominance",
        "Cumulative Dominance",
        "CP-Majority comparison",
        "Social Ranking Solutions",
        "Ordinal Banzhaf",
        "Copeland-like method",
        "Kramer-Simpson-like method",
        "Lexcel and Dual Lexcel",
        "Lexicographical Excellence Solution",
        "Dual Lexicographical Excellence Solution",
        "$L^{(1)}$, $L^{(2)}$, $L^p$, $L^{p^*}$",
        "$L^",
        "$L^",
        "$L^p$",
        "$L^",
        "Relations",
        "Incidence Matrix\\label",
        "Cycles and Transitive Closure",
        "Bibliography"
      ],
      "created": "2022-03-28 09:58:44",
      "modified": "2024-05-16 13:43:19",
      "commits": 22
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "socialranking",
  "_universes": [
    "jassler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:54.000Z",
      "distro": "noble",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "b44858207898f1992f5daa3b5b88b3d0725388f392740aef118092352556a400",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:50.000Z",
      "distro": "noble",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "bf7bbf1aed422ad62b3f200c332119d9e606d07dbdfb78ebc1064a4734395113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T09:31:15.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "eb44c7a1a5b086356baecf9469bb04c45a6bf9fda7bb06ee48fd8e4ce6480bfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:45.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "dae6fad57914043697e365c3580fa2fe451476f774a8b6063ccb1fc2cedf9f80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:55.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "46361d5b096560c4409e395c2cca013c290672249a7bbd36111e5866ae5549c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:05.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "4e4664fb8748465057b313136177e87ed229f526f46cb1b993e545c9b0f3146d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T09:29:52.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "37382c147b8ff5c50680e2ae2632de3542e18fe39f2e05f0caea79cdc37b1d7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T09:30:11.000Z",
      "commit": "db271fe7a9476773615946de1c9dae353161d091",
      "fileid": "9ac4f62e8413dd969e512e2847ea2116f0a7d9dd205e4a40e53f19e318861fa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jassler/actions/runs/27058619405"
    }
  ]
}