{
  "_id": "6a4795872f27a93436c0e377",
  "Package": "greenbook",
  "Title": "HM Treasury Green Book Cost-Benefit Analysis Primitives",
  "Version": "0.1.0",
  "Authors@R": "person(\"Charles\", \"Coverdale\", , \"charlesfcoverdale@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements cost-benefit analysis primitives from HM\nTreasury Green Book guidance (HM Treasury, 2022, 2026): the\nkinked Social Time Preference Rate (STPR), discount factors,\nnet present value (NPV), equivalent annual cost, and real-terms\nrebasing using the GDP deflator. Designed for UK central\ngovernment appraisal and evaluation. Bundled parameter tables\ncarry vintage metadata for reproducibility.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/charlescoverdale/greenbook",
  "BugReports": "https://github.com/charlescoverdale/greenbook/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://charlescoverdale.r-universe.dev",
  "Date/Publication": "2026-05-04 19:12:06 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/greenbook",
  "RemoteRef": "HEAD",
  "RemoteSha": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 05:35:18 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "greenbook_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/61b2a502fb9e78c020a6e23921180f01371ad2b5f6c5a0651b9daef352e0196e",
  "_filesize": 287839,
  "_sha256": "61b2a502fb9e78c020a6e23921180f01371ad2b5f6c5a0651b9daef352e0196e",
  "_expires": "2026-10-11T10:57:11.000Z",
  "_created": "2026-07-03T05:35:18.000Z",
  "_published": "2026-07-03T10:57:11.968Z",
  "_jobs": [
    {
      "job": 84985295857,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8058606718"
    },
    {
      "job": 84985295770,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8058605515"
    },
    {
      "job": 84985295907,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8058597225"
    },
    {
      "job": 84985295704,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8058593735"
    },
    {
      "job": 84985295291,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8058576865"
    },
    {
      "job": 84985295746,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8058609859"
    },
    {
      "job": 84985295965,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8058604561"
    },
    {
      "job": 84985295901,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8058593785"
    },
    {
      "job": 84985295915,
      "time": 130,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8058604156"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328",
  "_status": "success",
  "_upstream": "https://github.com/charlescoverdale/greenbook",
  "_commit": {
    "id": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "docs(README): refocus Related packages on thematically relevant ones\n\nReplaced full-suite cross-references with a tight per-README table\ncovering only the packages a user of this one would actually want:\nsame-domain data sources, immediate analytical companions, and\ncross-country counterparts. Drops irrelevant cross-links (e.g.\nelectoral data from tax/energy READMEs) and adds packages that\nwere missing from older lists (e.g. mpshock, ivcheck, greenbook,\nmagentabook, aieconindex).\n",
    "time": 1777921926
  },
  "_maintainer": {
    "name": "Charles Coverdale",
    "email": "charlesfcoverdale@gmail.com",
    "login": "charlescoverdale",
    "linkedin": "in/charlescoverdale",
    "twitter": "@cfcoverdale",
    "description": "economics | climate science | R",
    "uuid": 21993492
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "inflateR",
      "role": "Suggests"
    },
    {
      "package": "openxlsx",
      "role": "Suggests"
    },
    {
      "package": "officer",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    }
  ],
  "_owner": "charlescoverdale",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 10
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 13,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 10,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 403,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/greenbook"
  },
  "_devurl": "https://github.com/charlescoverdale/greenbook",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/greenbook.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/charlescoverdale/greenbook",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "gb_apply_ob",
    "gb_appraise",
    "gb_carbon_npv",
    "gb_carbon_value",
    "gb_categories",
    "gb_compare",
    "gb_cost_per_unit",
    "gb_data_versions",
    "gb_deflator",
    "gb_discount",
    "gb_discount_factor",
    "gb_dist_weight",
    "gb_dist_weighted_npv",
    "gb_eanc",
    "gb_economic_case",
    "gb_headline",
    "gb_metb",
    "gb_npv",
    "gb_optimism_bias",
    "gb_place_based",
    "gb_progression",
    "gb_qaly",
    "gb_real",
    "gb_rebase",
    "gb_risk_register",
    "gb_schedule_table",
    "gb_sensitivity_ob",
    "gb_stpr",
    "gb_to_excel",
    "gb_to_latex",
    "gb_to_word",
    "gb_validate",
    "gb_vpf",
    "gb_wellby"
  ],
  "_help": [
    {
      "page": "gb_apply_ob",
      "title": "Apply an optimism bias uplift to a cost stream",
      "concept": [
        "optimism bias"
      ],
      "topics": [
        "gb_apply_ob"
      ]
    },
    {
      "page": "gb_appraise",
      "title": "Full Green Book appraisal in one call",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_appraise"
      ]
    },
    {
      "page": "gb_carbon_npv",
      "title": "Net present value of an emissions path",
      "concept": [
        "carbon"
      ],
      "topics": [
        "gb_carbon_npv"
      ]
    },
    {
      "page": "gb_carbon_value",
      "title": "DESNZ carbon value for appraisal",
      "concept": [
        "carbon"
      ],
      "topics": [
        "gb_carbon_value"
      ]
    },
    {
      "page": "gb_categories",
      "title": "Available optimism bias categories",
      "concept": [
        "optimism bias"
      ],
      "topics": [
        "gb_categories"
      ]
    },
    {
      "page": "gb_compare",
      "title": "Compare multiple appraisal options",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_compare"
      ]
    },
    {
      "page": "gb_cost_per_unit",
      "title": "Cost per unit delivered",
      "concept": [
        "reporting"
      ],
      "topics": [
        "gb_cost_per_unit"
      ]
    },
    {
      "page": "gb_data_versions",
      "title": "Vintage of bundled parameter tables",
      "concept": [
        "lookups"
      ],
      "topics": [
        "gb_data_versions"
      ]
    },
    {
      "page": "gb_deflator",
      "title": "GDP deflator factor between two years",
      "concept": [
        "deflator"
      ],
      "topics": [
        "gb_deflator"
      ]
    },
    {
      "page": "gb_discount",
      "title": "Apply discount factors to a stream",
      "concept": [
        "discounting"
      ],
      "topics": [
        "gb_discount"
      ]
    },
    {
      "page": "gb_discount_factor",
      "title": "Discount factor under the kinked STPR",
      "concept": [
        "discounting"
      ],
      "topics": [
        "gb_discount_factor"
      ]
    },
    {
      "page": "gb_dist_weight",
      "title": "Distributional weight for a recipient income",
      "concept": [
        "distributional"
      ],
      "topics": [
        "gb_dist_weight"
      ]
    },
    {
      "page": "gb_dist_weighted_npv",
      "title": "Distributionally-weighted net present value",
      "concept": [
        "distributional"
      ],
      "topics": [
        "gb_dist_weighted_npv"
      ]
    },
    {
      "page": "gb_eanc",
      "title": "Equivalent annual net cost (or benefit)",
      "concept": [
        "discounting"
      ],
      "topics": [
        "gb_eanc"
      ]
    },
    {
      "page": "gb_economic_case",
      "title": "Render an appraisal as a Five Case Model economic case",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_economic_case"
      ]
    },
    {
      "page": "gb_headline",
      "title": "One-page headline summary of an appraisal",
      "concept": [
        "reporting"
      ],
      "topics": [
        "gb_headline"
      ]
    },
    {
      "page": "gb_metb",
      "title": "Apply Marginal Excess Tax Burden to public expenditure",
      "concept": [
        "adjustments"
      ],
      "topics": [
        "gb_metb"
      ]
    },
    {
      "page": "gb_npv",
      "title": "Net present value",
      "concept": [
        "discounting"
      ],
      "topics": [
        "gb_npv"
      ]
    },
    {
      "page": "gb_optimism_bias",
      "title": "Optimism bias upper bound for a project category",
      "concept": [
        "optimism bias"
      ],
      "topics": [
        "gb_optimism_bias"
      ]
    },
    {
      "page": "gb_place_based",
      "title": "Aggregate sub-projects into a place-based business case",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_place_based"
      ]
    },
    {
      "page": "gb_progression",
      "title": "Track an appraisal across SOC, OBC, and FBC stages",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_progression"
      ]
    },
    {
      "page": "gb_qaly",
      "title": "Value of a Quality-Adjusted Life Year",
      "concept": [
        "valuation"
      ],
      "topics": [
        "gb_qaly"
      ]
    },
    {
      "page": "gb_real",
      "title": "Convert nominal values to real",
      "concept": [
        "deflator"
      ],
      "topics": [
        "gb_real"
      ]
    },
    {
      "page": "gb_rebase",
      "title": "Rebase a real-terms series to a different base year",
      "concept": [
        "deflator"
      ],
      "topics": [
        "gb_rebase"
      ]
    },
    {
      "page": "gb_risk_register",
      "title": "Build a risk register with monetised exposure",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_risk_register"
      ]
    },
    {
      "page": "gb_schedule_table",
      "title": "Tibble of the STPR schedule",
      "concept": [
        "lookups"
      ],
      "topics": [
        "gb_schedule_table"
      ]
    },
    {
      "page": "gb_sensitivity_ob",
      "title": "Optimism bias sensitivity sweep",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_sensitivity_ob"
      ]
    },
    {
      "page": "gb_stpr",
      "title": "Social Time Preference Rate",
      "concept": [
        "discounting"
      ],
      "topics": [
        "gb_stpr"
      ]
    },
    {
      "page": "gb_to_excel",
      "title": "Export an appraisal to Excel",
      "concept": [
        "reporting"
      ],
      "topics": [
        "gb_to_excel"
      ]
    },
    {
      "page": "gb_to_latex",
      "title": "Render an appraisal as a LaTeX table",
      "concept": [
        "reporting"
      ],
      "topics": [
        "gb_to_latex"
      ]
    },
    {
      "page": "gb_to_word",
      "title": "Export an appraisal to Word",
      "concept": [
        "reporting"
      ],
      "topics": [
        "gb_to_word"
      ]
    },
    {
      "page": "gb_validate",
      "title": "Lint a Green Book appraisal for common errors",
      "concept": [
        "appraisal"
      ],
      "topics": [
        "gb_validate"
      ]
    },
    {
      "page": "gb_vpf",
      "title": "Value of Preventing a Fatality",
      "concept": [
        "valuation"
      ],
      "topics": [
        "gb_vpf"
      ]
    },
    {
      "page": "gb_wellby",
      "title": "Wellbeing valuation in GBP (WELLBY)",
      "concept": [
        "valuation"
      ],
      "topics": [
        "gb_wellby"
      ]
    }
  ],
  "_readme": "https://github.com/charlescoverdale/greenbook/raw/HEAD/README.md",
  "_rundeps": [
    "cli"
  ],
  "_vignettes": [
    {
      "source": "carbon-and-environment.Rmd",
      "filename": "carbon-and-environment.html",
      "title": "Carbon and environmental valuation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Carbon values for appraisal",
        "Net present value of an emissions path",
        "Wellbeing valuation",
        "Risk to life and health",
        "Provenance"
      ],
      "created": "2026-04-26 09:37:35",
      "modified": "2026-04-26 12:59:19",
      "commits": 2
    },
    {
      "source": "greenbook.Rmd",
      "filename": "greenbook.html",
      "title": "Getting started with greenbook",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why greenbook",
        "The kinked STPR",
        "Discount factors",
        "Net present value",
        "Equivalent annual net cost",
        "Real-terms rebasing",
        "What's next"
      ],
      "created": "2026-04-26 09:10:13",
      "modified": "2026-04-26 09:10:13",
      "commits": 1
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "greenbook",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T05:37:40.000Z",
      "distro": "resolute",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/055154486c9b524d1fba09bef7b61f545fc945ca255647508f6b06efd4c7ab31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T05:37:32.000Z",
      "distro": "resolute",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/1685cb5fda08b1e760e4e595ade7bd98c47974a46b395c3da0dfcdbf160bc88d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T05:36:54.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/379d8f4594efdd1480bee3d6d7556f06b5ffddadcefa60b087ced966b9dc03fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T05:36:42.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/3bc67017e139d50ecb26bf57d0c46414b5caf2cc67572cc4f5d2d89eda148309",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-03T05:38:11.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/8de1fc44210d684b4f4a92ce645b7b270b7b9f5e317c299a58a47bdcaab94aa2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T05:37:22.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/1d62da637529e4b7c46d52ee74e918cc53425577015c680aaecf456adb19641d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T05:36:29.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/69d69b095678620190b2ea5d5c6446d9df880d795d653c3112c53d2992b9400e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T05:37:18.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "https://r2.ropensci.org/13b7a3a7d7ee35b230632a678e118dd2d907f98199e275b0fc0cedea8f46e153",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/28640640328"
    }
  ]
}