{
  "_id": "6a1fd456b401979e7343618f",
  "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-06-03 07:11:50 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "MD5sum": "04c1aac31ba7db50c18fed496508ca5f",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "greenbook_0.1.0.tar.gz",
  "_fileid": "acb62e095b2b67affc55fdfc41f7780fb81ec839bd290811a312914a82564eef",
  "_filesize": 282902,
  "_sha256": "acb62e095b2b67affc55fdfc41f7780fb81ec839bd290811a312914a82564eef",
  "_created": "2026-06-03T07:11:50.000Z",
  "_published": "2026-06-03T07:14:30.768Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79241036592,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7378022423"
    },
    {
      "job": 79241036715,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378022282"
    },
    {
      "job": 79241036618,
      "time": 72,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7378007225"
    },
    {
      "job": 79241036758,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378009426"
    },
    {
      "job": 79237066413,
      "time": 1708,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7377986017"
    },
    {
      "job": 79241036612,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378016396"
    },
    {
      "job": 79241036630,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7378013398"
    },
    {
      "job": 79241036634,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7378016885"
    },
    {
      "job": 79241036611,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7378014755"
    }
  ],
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "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",
  "_rbuild": "4.6.0",
  "_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",
    "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-06-03T07:13:59.000Z",
      "distro": "noble",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "31c66fe5f52857eda442146f38f1b59ce5bff8d0420c4a967e4e1b8d644e1c82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:57.000Z",
      "distro": "noble",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "a723f4cd8bfdd6cdeea0f5d0ba400c90eb6bb616f4f8286c4de8a2a13d63f90c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:09.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "f666a94b2e00357479c8111fb4d298a2f4394cda6d5d839a5931e5e53eb3f5b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:16.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "c44c6919257382d92924564ac712269f36beffdb9c8bee4eaa2629022aca954e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:53.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "7ce7bd82c9de569118a6c30b61f0c9be2681ce8355d257189aafb1fa8a089624",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:17.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "d10436138f10bd7392a149594e5ea84f41c138fa41903765ca71d479853a2769",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:27.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "d46eadf6e44727120f7d8df797d9067def718eb8fa892f8bbea0242fc2778b94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T07:13:22.000Z",
      "commit": "e0a6ac557b0cee3f380c245c5e202d678d40829f",
      "fileid": "dce0a2f288253e2b1eedc0d2438abded2ecbf828ae02983aa67fbb0ad132fbf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/26868307661"
    }
  ]
}