{
  "_id": "6a10a780acfb0bcc41cbc695",
  "Package": "OPL",
  "Type": "Package",
  "Title": "Optimal Policy Learning",
  "Version": "1.0.2",
  "Authors@R": "c(person(\"Federico\", \"Brogi\", email = \"federicobrogi@gmail.com\", role = c(\"aut\", \"cre\")), \nperson(\"Barbara\", \"Guardabascio\", email = \"barbara.guardabascio@unipg.it\", role = \"aut\"),\nperson(\"Giovanni\", \"Cerulli\", email = \"giovanni.cerulli@ircres.cnr.it\", role = \"aut\"))",
  "Author": "Federico Brogi [aut, cre], Barbara Guardabascio [aut], Giovanni\nCerulli [aut]",
  "Maintainer": "Federico Brogi <federicobrogi@gmail.com>",
  "Description": "Provides functions for optimal policy learning in\nsocioeconomic applications helping users to learn the most\neffective policies based on data in order to maximize empirical\nwelfare. Specifically, 'OPL' allows to find \"treatment\nassignment rules\" that maximize the overall welfare, defined as\nthe sum of the policy effects estimated over all the policy\nbeneficiaries. Documentation about 'OPL' is provided by several\ninternational articles via Athey et al (2021,\n<doi:10.3982/ECTA15732>), Kitagawa et al (2018,\n<doi:10.3982/ECTA13288>), Cerulli (2022,\n<doi:10.1080/13504851.2022.2032577>), the paper by Cerulli\n(2021, <doi:10.1080/13504851.2020.1820939>) and the book by\nGareth et al (2013, <doi:10.1007/978-1-4614-7138-7>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 18:50:06 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-27 13:00:06 UTC",
  "RemoteUrl": "https://github.com/cran/OPL",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc89096238536fc5b2941fdcec856117289fe0fe",
  "MD5sum": "b73291fb14d0670c140f00f23f3fa439",
  "_user": "cran",
  "_type": "src",
  "_file": "OPL_1.0.2.tar.gz",
  "_fileid": "fdee542dcf7fa6b12d1fc4f3214faf061a727a0a435e5be0baf6d878c0913468",
  "_filesize": 118975,
  "_sha256": "fdee542dcf7fa6b12d1fc4f3214faf061a727a0a435e5be0baf6d878c0913468",
  "_created": "2026-05-22T18:50:06.000Z",
  "_published": "2026-05-22T18:59:12.783Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77442998475,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7168117338"
    },
    {
      "job": 77442998428,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168111165"
    },
    {
      "job": 77442448326,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168036524"
    },
    {
      "job": 77442998421,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168107515"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26271483772",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/OPL",
  "_commit": {
    "id": "dc89096238536fc5b2941fdcec856117289fe0fe",
    "author": "Federico Brogi <federicobrogi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1740661206
  },
  "_maintainer": {
    "name": "Federico Brogi",
    "email": "federicobrogi@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pander",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 179,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OPL"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/OPL.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-02-03"
    },
    {
      "version": "1.0.1",
      "date": "2025-02-17"
    },
    {
      "version": "1.0.2",
      "date": "2025-02-27"
    }
  ],
  "_exports": [
    "make_cate",
    "opl_dt_c",
    "opl_dt_max_choice",
    "opl_lc_c",
    "opl_tb_c",
    "overlapping"
  ],
  "_help": [
    {
      "page": "make_cate",
      "title": "Function to calculate the Causal Treatment Effect",
      "topics": [
        "make_cate"
      ]
    },
    {
      "page": "opl_dt_c",
      "title": "Optimal Policy Learning with Decision Tree",
      "topics": [
        "opl_dt_c"
      ]
    },
    {
      "page": "opl_dt_max_choice",
      "title": "User selection on multiple choice",
      "topics": [
        "opl_dt_max_choice"
      ]
    },
    {
      "page": "opl_lc_c",
      "title": "Linear Combination Based Policy Learning",
      "topics": [
        "opl_lc_c"
      ]
    },
    {
      "page": "opl_tb_c",
      "title": "Threshold-based policy learning at specific values",
      "topics": [
        "opl_tb_c"
      ]
    },
    {
      "page": "overlapping",
      "title": "Testing overlap between old and new policy sample",
      "topics": [
        "overlapping"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pander",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randomForest",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "make_cate.Rmd",
      "filename": "make_cate.html",
      "title": "make_cate",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_dt_c.Rmd",
      "filename": "opl_dt_c.html",
      "title": "opl_dt_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_lc_c.Rmd",
      "filename": "opl_lc_c.html",
      "title": "opl_lc_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_tb_c.Rmd",
      "filename": "opl_tb_c.html",
      "title": "opl_tb_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "overlapping.Rmd",
      "filename": "overlapping.html",
      "title": "overlapping",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "opl",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-22T18:54:12.000Z",
      "distro": "noble",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "9414af29f6f242a39348532bb6d683aa92c630cd3d84bf2c648f87ff36e61a0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26271483772"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-22T18:53:54.000Z",
      "distro": "noble",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "15fcea4a09020007ed88db5246ff6de206c97b5cbcc70288d7270b2d2cb417e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26271483772"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-22T18:54:08.000Z",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "3a603a3abc40b4b15aecbe2207ba536823a0b502690681c9f6a2ef2cc05b79dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26271483772"
    }
  ]
}