{
  "_id": "6ae05c5895167d9b9260d289",
  "Package": "reiod",
  "Title": "Dietary Environmental Impact Metrics from the Intake EIOD\nFramework",
  "Version": "0.1.0",
  "Authors@R": "person(given = c(\"Nicholus\", \"Tint\"),\nfamily = \"Zaw\",\nemail = \"nicholustintzaw@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0002-8082-401X\"))",
  "Description": "Calculates the dietary environmental impact metrics\ndefined in Intake's Environmental Impacts of Foods methods\npaper: absolute threshold metrics against per capita planetary\nboundary shares, relative benchmark metrics against a fixed\nglobal reference distribution, and the two composite metrics\nthat combine diet quality with environmental impact. Cut-offs\nare age- and sex-specific. The package does not contain the\nEnvironmental Impacts of Foods database itself; it applies the\npublished metric cut-offs to impact values the user has already\nderived. Includes a data quality check suite covering variable\ntype, plausibility, numerical precision and unit magnitude.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-GB",
  "URL": "https://nicholustintzaw.github.io/reiod/,\nhttps://github.com/nicholustintzaw/reiod",
  "BugReports": "https://github.com/nicholustintzaw/reiod/issues",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://ropensci-staging.r-universe.dev",
  "Date/Publication": "2026-10-27 05:09:18 UTC",
  "RemoteUrl": "https://github.com/nicholustintzaw/reiod",
  "RemoteRef": "HEAD",
  "RemoteSha": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-27 08:07:15 UTC",
    "User": "root"
  },
  "Author": "Nicholus Tint Zaw [aut, cre] (ORCID:\n<https://orcid.org/0009-0002-8082-401X>)",
  "Maintainer": "Nicholus Tint Zaw <nicholustintzaw@gmail.com>",
  "_user": "ropensci-staging",
  "_type": "src",
  "_file": "reiod_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d32889b9bb913580da6d0e1d28ce013ef5eea0f0f077e7e6d40f111179280e64",
  "_filesize": 441592,
  "_sha256": "d32889b9bb913580da6d0e1d28ce013ef5eea0f0f077e7e6d40f111179280e64",
  "_expires": "2027-02-04T08:09:59.000Z",
  "_created": "2026-10-27T08:07:15.000Z",
  "_published": "2026-10-27T08:10:00.718Z",
  "_upstream": "https://github.com/nicholustintzaw/reiod",
  "_status": "success",
  "_maintainer": {
    "name": "Nicholus Tint Zaw",
    "email": "nicholustintzaw@gmail.com",
    "login": "nicholustintzaw",
    "orcid": "0009-0002-8082-401X",
    "description": "",
    "uuid": 29102452
  },
  "_jobs": [
    {
      "job": 122079011206,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12719215491"
    },
    {
      "job": 122079011154,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12719175835"
    },
    {
      "job": 122079011219,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12718731186"
    },
    {
      "job": 122079011280,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12719470205"
    },
    {
      "job": 122077860007,
      "time": 191,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12719335894"
    },
    {
      "job": 122077859977,
      "time": 192,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12718790767"
    },
    {
      "job": 122079011200,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12719250396"
    },
    {
      "job": 122079011279,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12718264979"
    },
    {
      "job": 122079011222,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12718174645"
    },
    {
      "job": 122079011288,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12719020550"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073",
  "_commit": {
    "id": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
    "author": "Nicholus Tint Zaw <nicholustintzaw@gmail.com>",
    "committer": "Nicholus Tint Zaw <nicholustintzaw@gmail.com>",
    "message": "Fix the last four lintr findings in tests (rOpenSci checklist C5)\n\nFound by running lintr locally with goodpractice's linter set (the set pkgcheck uses):\n- test-composite.R: two assignments moved out of suppressMessages() (got <- suppressMessages(...)), the last two L5 cases;\n- test-metrics.R: the duplicated map name is the input under test, so it is kept inside a nolint block with the reason;\n- test-reference_values.R: the details = TRUE cut-off is compared with the stored value via expect_identical(); the literal is already checked in the Table 3 test.\n\nlintr now reports only library() calls in tests/testthat.R and the vignettes, which pkgcheck discards.\n",
    "time": 1793077758
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "nicholustintzaw",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 7
    },
    {
      "week": "2026-42",
      "n": 4
    },
    {
      "week": "2026-43",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 15
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nicholustintzaw",
      "count": 29,
      "uuid": 29102452
    }
  ],
  "_userbio": {
    "uuid": 318245800,
    "type": "organization",
    "name": "ropensci-staging",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/reiod"
  },
  "_devurl": "https://github.com/nicholustintzaw/reiod",
  "_pkgdown": "https://nicholustintzaw.github.io/reiod/",
  "_searchresults": 0,
  "_metadata": {
    "review": {
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/818"
    }
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/reiod.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "eiod_absolute_all",
    "eiod_absolute_threshold",
    "eiod_age_sex_group",
    "eiod_as_sex_factor",
    "eiod_check_data",
    "eiod_check_demographics",
    "eiod_check_gdqs",
    "eiod_check_impact",
    "eiod_check_magnitude",
    "eiod_check_precision",
    "eiod_hdlei",
    "eiod_healthy_diet",
    "eiod_hesd",
    "eiod_list_indicators",
    "eiod_lookup_cutoff",
    "eiod_low_impact",
    "eiod_relative_all",
    "eiod_relative_band",
    "eiod_sustainable_diet"
  ],
  "_datasets": [
    {
      "name": "eiod_cutoffs",
      "title": "Published cut-offs for every dietary environmental impact metric",
      "object": "eiod_cutoffs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "metric",
        "table",
        "indicator",
        "indicator_label",
        "unit",
        "demogroup",
        "demogroup_label",
        "sex",
        "age_min",
        "age_max",
        "row_order",
        "percentile",
        "value",
        "value_published_str",
        "value_source"
      ],
      "rows": 616,
      "table": true,
      "tojson": true
    },
    {
      "name": "eiod_demo",
      "title": "Synthetic respondent-day data for examples",
      "object": "eiod_demo",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "age",
        "sex",
        "land_total_m2yr",
        "land_arable_m2yr",
        "land_pasture_m2yr",
        "ghg_kgco2e",
        "eutroph_gpo4e",
        "water_litres",
        "biodiv_pdf",
        "gdqs"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    },
    {
      "name": "eiod_demo_map",
      "title": "Indicator keys mapped to the demonstration data's column names",
      "object": "eiod_demo_map",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "eiod_indicators",
      "title": "The seven environmental impact indicators",
      "object": "eiod_indicators",
      "class": [
        "data.frame"
      ],
      "fields": [
        "indicator",
        "indicator_label",
        "unit"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "eiod_absolute_all",
      "title": "All absolute threshold metrics at once (Table 3)",
      "topics": [
        "eiod_absolute_all"
      ]
    },
    {
      "page": "eiod_absolute_threshold",
      "title": "Absolute threshold metric (Table 3)",
      "topics": [
        "eiod_absolute_threshold"
      ]
    },
    {
      "page": "eiod_age_sex_group",
      "title": "Build the eight-category age and sex demographic group",
      "topics": [
        "eiod_age_sex_group"
      ]
    },
    {
      "page": "eiod_as_sex_factor",
      "title": "Convert a sex variable to the recommended factor form",
      "topics": [
        "eiod_as_sex_factor"
      ]
    },
    {
      "page": "eiod_check_data",
      "title": "Check a dataset before computing any metric",
      "topics": [
        "eiod_check_data",
        "print.eiod_check",
        "summary.eiod_check"
      ]
    },
    {
      "page": "eiod_check_demographics",
      "title": "Check the age and sex variables",
      "topics": [
        "eiod_check_demographics"
      ]
    },
    {
      "page": "eiod_check_gdqs",
      "title": "Check the Global Diet Quality Score variable",
      "topics": [
        "eiod_check_gdqs"
      ]
    },
    {
      "page": "eiod_check_impact",
      "title": "Check an environmental impact variable",
      "topics": [
        "eiod_check_impact"
      ]
    },
    {
      "page": "eiod_check_magnitude",
      "title": "Check the magnitude of an impact variable against the global reference",
      "topics": [
        "eiod_check_magnitude"
      ]
    },
    {
      "page": "eiod_check_precision",
      "title": "Check the numerical precision of an impact variable",
      "topics": [
        "eiod_check_precision"
      ]
    },
    {
      "page": "eiod_cutoffs",
      "title": "Published cut-offs for every dietary environmental impact metric",
      "topics": [
        "eiod_cutoffs"
      ]
    },
    {
      "page": "eiod_demo",
      "title": "Synthetic respondent-day data for examples",
      "topics": [
        "eiod_demo"
      ]
    },
    {
      "page": "eiod_demo_map",
      "title": "Indicator keys mapped to the demonstration data's column names",
      "topics": [
        "eiod_demo_map"
      ]
    },
    {
      "page": "eiod_hdlei",
      "title": "Healthy Diet with Low Environmental Impacts, HDLEI (Table 5b)",
      "topics": [
        "eiod_hdlei"
      ]
    },
    {
      "page": "eiod_healthy_diet",
      "title": "Healthy diet criterion",
      "topics": [
        "eiod_healthy_diet"
      ]
    },
    {
      "page": "eiod_hesd",
      "title": "Healthy and Environmentally Sustainable Diet, HESD (Table 5a)",
      "topics": [
        "eiod_hesd"
      ]
    },
    {
      "page": "eiod_indicators",
      "title": "The seven environmental impact indicators",
      "topics": [
        "eiod_indicators"
      ]
    },
    {
      "page": "eiod_list_indicators",
      "title": "List the seven environmental impact indicators",
      "topics": [
        "eiod_list_indicators"
      ]
    },
    {
      "page": "eiod_lookup_cutoff",
      "title": "Look up a published cut-off value",
      "topics": [
        "eiod_lookup_cutoff",
        "Ops.eiod_cutoff",
        "print.eiod_cutoff"
      ]
    },
    {
      "page": "eiod_low_impact",
      "title": "Low environmental impact criterion",
      "topics": [
        "eiod_low_impact"
      ]
    },
    {
      "page": "eiod_relative_all",
      "title": "All relative benchmark metrics at once (Tables 4a-4g)",
      "topics": [
        "eiod_relative_all"
      ]
    },
    {
      "page": "eiod_relative_band",
      "title": "Relative benchmark metric (Tables 4a-4g)",
      "topics": [
        "eiod_relative_band"
      ]
    },
    {
      "page": "eiod_sustainable_diet",
      "title": "Environmentally sustainable diet criterion",
      "topics": [
        "eiod_sustainable_diet"
      ]
    }
  ],
  "_readme": "https://github.com/nicholustintzaw/reiod/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "data-checks.Rmd",
      "filename": "data-checks.html",
      "title": "Check your data first ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The one check that is automatic, and the many that are not",
        "The one call that runs them all",
        "The two checks worth understanding",
        "Unit magnitude",
        "Precision",
        "The recommended pre-flight block",
        "What the checks cannot do",
        "See also"
      ],
      "created": "2026-10-23 02:34:54",
      "modified": "2026-10-27 04:39:39",
      "commits": 2
    },
    {
      "source": "demographic-groups.Rmd",
      "filename": "demographic-groups.html",
      "title": "Demographic groups ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Adding it to your data frame",
        "Which type should sex be?",
        "A note on the age boundaries",
        "Checking it before you rely on it",
        "See also"
      ],
      "created": "2026-10-23 02:34:54",
      "modified": "2026-10-23 02:34:54",
      "commits": 1
    },
    {
      "source": "table3-absolute.Rmd",
      "filename": "table3-absolute.html",
      "title": "Table 3 — absolute thresholds ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A. One value",
        "B. One vector (a column from your data)",
        "The indicator key and your column name are different things",
        "C. Adding the result as a new column",
        "D. Several indicators in one call",
        "E. Only the indicators you have",
        "Which number was each respondent compared against?",
        "Two cautions specific to this table",
        "See also"
      ],
      "created": "2026-10-23 02:34:54",
      "modified": "2026-10-26 19:50:50",
      "commits": 2
    },
    {
      "source": "table4-relative.Rmd",
      "filename": "table4-relative.html",
      "title": "Tables 4a–4g — relative benchmarks ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Part 1 — Using it",
        "A. One value",
        "B. One vector (a column from your data)",
        "C. Adding the result as a new column",
        "D. Several indicators in one call",
        "E. Only the indicators you have",
        "Part 2 — What the bands actually mean",
        "The reference distribution is external and fixed",
        "Why quantile() is the wrong tool",
        "How the bands are defined",
        "Reporting",
        "A caution on that mean",
        "The limitation the paper states about itself",
        "And the thing worth repeating",
        "See also"
      ],
      "created": "2026-10-23 02:34:54",
      "modified": "2026-10-27 04:39:40",
      "commits": 3
    },
    {
      "source": "table5-composites.Rmd",
      "filename": "table5-composites.html",
      "title": "Tables 5a & 5b — composite metrics ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A. One respondent",
        "B. Vectors from your data",
        "C. The two criteria separately",
        "D. Adding both to a data frame",
        "The thing to know before reporting these: HDLEI is nested inside HESD",
        "Only one indicator is involved",
        "See also"
      ],
      "created": "2026-10-23 02:34:54",
      "modified": "2026-10-23 02:34:54",
      "commits": 1
    },
    {
      "source": "precision.Rmd",
      "filename": "precision.html",
      "title": "Check precision before you compute anything",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The worry, and why it is the wrong one",
        "What actually destroys impact data",
        "The one that was measured",
        "The two checks",
        "1. How many digits does the column actually retain?",
        "2. Does it matter here?",
        "The recommended pre-flight block",
        "What the check cannot do",
        "See also"
      ],
      "created": "2026-10-14 15:47:06",
      "modified": "2026-10-15 13:46:15",
      "commits": 3
    },
    {
      "source": "eutrophication.Rmd",
      "filename": "eutrophication.html",
      "title": "Eutrophication: a corrected cut-off, and why it matters",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What you need to know",
        "The eight corrected thresholds",
        "The quantity did not change, only the unit",
        "What this means for your code",
        "How the problem was found",
        "Checking the current state yourself",
        "See also"
      ],
      "created": "2026-10-15 01:11:48",
      "modified": "2026-10-23 02:34:54",
      "commits": 3
    },
    {
      "source": "reiod.Rmd",
      "filename": "reiod.html",
      "title": "Getting started with reiod",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What EIOF is",
        "What reiod is — and is not",
        "A first run, start to finish",
        "What is in the package",
        "The seven indicators, and their units",
        "The cut-offs",
        "Table 3 — one absolute threshold per group",
        "Tables 4a–4g — nine decile cut-points per group",
        "Tables 5a and 5b — no new cut-offs",
        "Eight values differ from the published PDF",
        "Survey weights",
        "Where to go next"
      ],
      "created": "2026-10-14 19:27:28",
      "modified": "2026-10-26 19:50:50",
      "commits": 5
    },
    {
      "source": "troubleshooting.Rmd",
      "filename": "troubleshooting.html",
      "title": "Troubleshooting: fixing a broken dataset",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The data",
        "Run the checks first",
        "Fault 1 — biodiversity imported as text",
        "Fault 2 — greenhouse gases in the wrong unit",
        "Fault 3 — sex coded 0/1 with no labels",
        "Fault 4 — water rounded to four significant digits",
        "Fault 5 — arable land stored as an integer",
        "Re-run the checks",
        "Now compute the metrics",
        "A reusable pattern",
        "Error messages you may hit",
        "What the checks do not do",
        "The one you have to handle yourself: incomplete EIOF coverage"
      ],
      "created": "2026-10-02 01:14:08",
      "modified": "2026-10-27 04:39:39",
      "commits": 5
    }
  ],
  "_score": 4.2552725051033065,
  "_indexed": false,
  "_nocasepkg": "reiod",
  "_universes": [
    "ropensci-staging"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:58.000Z",
      "distro": "resolute",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/ee37a1f17ce9723e271eb68483c4e6aa1a00d1c0c6572bbd0e5672ff195b5d28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:56.000Z",
      "distro": "resolute",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/74459f2569d5c423546e0bca748729a30151f9ff4a2847d2737ee77002e6660a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:44.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/212e019cc77f07cfd55095458ecb570d8185e57d26bfd9e6e5deb3a23831c825",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-27T08:09:14.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/22e77725bfec579a05e000eded9bd343a7c8cb5da49de351c2bbefdde35e3a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:46.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/4857ea1c2c9962e6b63bc3837e68e703c88aff29fb40549843817ceea1c57471",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:13.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/6e201642aa2e0db16dd5585784ccb38cae87a8eaaa6165676420c823f7c4d9a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:19.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/2ea411f2adefa13228ce0e80fb957bc484e9ead430a61517311e2523e3a61478",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T08:08:16.000Z",
      "commit": "dcd76d72c582dadc579b87149ba39cc0a80d5541",
      "fileid": "https://r2.ropensci.org/9ba38bd113587bcd131ee0334513a11a9cc9317173b80759d7bce6d00d8a070b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci-staging/actions/runs/40470969073"
    }
  ]
}