{
  "_id": "6ad5fe5d6b811b735aabe0d6",
  "Package": "greenbook",
  "Title": "HM Treasury Green Book Cost-Benefit Analysis Primitives",
  "Version": "0.1.1",
  "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-09-19 10:23:32 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/greenbook",
  "RemoteRef": "HEAD",
  "RemoteSha": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 11:21:47 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "greenbook_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/d2da058f97a20a30d6178890ba5b85a7c75fa4838b9878429aeffdc9a9784645",
  "_filesize": 293130,
  "_sha256": "d2da058f97a20a30d6178890ba5b85a7c75fa4838b9878429aeffdc9a9784645",
  "_expires": "2027-01-27T11:26:19.000Z",
  "_created": "2026-10-19T11:21:47.000Z",
  "_published": "2026-10-19T11:26:21.246Z",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118031766990,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12183340010"
    },
    {
      "job": 118031767105,
      "time": 107,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12183630093"
    },
    {
      "job": 118031766947,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12183515218"
    },
    {
      "job": 118031766930,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12183375616"
    },
    {
      "job": 118030667812,
      "time": 165,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12183190240"
    },
    {
      "job": 118031766958,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12182935427"
    },
    {
      "job": 118031767053,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12183415196"
    },
    {
      "job": 118031766888,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12182272789"
    },
    {
      "job": 118031766953,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12182059978"
    }
  ],
  "_upstream": "https://github.com/charlescoverdale/greenbook",
  "_commit": {
    "id": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "Add llms-full.txt, the agent-facing API reference\n\ncharlescoverdale.github.io/llms.txt points agents at this file for every\npackage it lists, and this package did not have one. Generated from the\nRd files by generate_llms_full.R: every export with its signature,\narguments, return value and example.\n\nBuild-ignored so it stays out of the CRAN tarball.\n",
    "time": 1789813412
  },
  "_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
    },
    {
      "week": "2026-31",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2026-08-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 20,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 16,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 272,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/greenbook"
  },
  "_devurl": "https://github.com/charlescoverdale/greenbook",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/greenbook.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/charlescoverdale/greenbook",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-28"
    },
    {
      "version": "0.1.1",
      "date": "2026-08-24"
    }
  ],
  "_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.778151250383644,
  "_indexed": true,
  "_nocasepkg": "greenbook",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-19T11:23:43.000Z",
      "distro": "resolute",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/18733952b50e8d2c4f40937b2434599166d6e314cc9edf07dbe76e53bc32269b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-19T11:23:33.000Z",
      "distro": "resolute",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/dda596301b3b802895c212517cb387a4947fd11207d0e1299b1365391172d4be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-19T11:25:51.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/9190bb56dc47ab0fffe5d34729d723196d26916d20da3c95d306dac447226b67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-19T11:25:23.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/8b66a15a0b9a9ff9f595ee882a49dbc998d207195cd083f11fdacc105f4ee26c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-19T11:23:45.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/5c0c8ad3f98f3540e0159d9ffcb6c9b22dcfc8f5b7a3a5554312be87d930e2a9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-19T11:22:56.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/b6b60d9ceb74d522b3054b48f70797cdbb29d9577c0cfea31c535b4bd1cba6e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-19T11:23:02.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/fcb525018e1bcb8759843bd0d8e5b5a57424a2cc6aba32220cd1c15cc2e55ac5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-19T11:22:53.000Z",
      "commit": "9cd36df99479b0ea00cdd7a2402809027d4db4c7",
      "fileid": "https://r2.ropensci.org/71746183728ff99aeae163f9080a1f2a7776b7be4f8b0fb3f740c0ec3e90c3b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/39243755671"
    }
  ]
}