Package index
Demographic group
The eight-category age and sex variable every cut-off is scaled by. Required by all the metric functions.
-
eiod_age_sex_group() - Build the eight-category age and sex demographic group
-
eiod_as_sex_factor() - Convert a sex variable to the recommended factor form
-
eiod_absolute_threshold() - Absolute threshold metric (Table 3)
-
eiod_relative_band() - Relative benchmark metric (Tables 4a-4g)
-
eiod_absolute_all() - All absolute threshold metrics at once (Table 3)
-
eiod_relative_all() - All relative benchmark metrics at once (Tables 4a-4g)
-
eiod_hesd() - Healthy and Environmentally Sustainable Diet, HESD (Table 5a)
-
eiod_hdlei() - Healthy Diet with Low Environmental Impacts, HDLEI (Table 5b)
Decomposed sub-indicators
The individual criteria behind the composite metrics, exported so each can be reported on its own.
-
eiod_healthy_diet() - Healthy diet criterion
-
eiod_sustainable_diet() - Environmentally sustainable diet criterion
-
eiod_low_impact() - Low environmental impact criterion
Data quality checks
Run these before computing anything. They report rather than stop, so one pass finds every problem.
-
eiod_check_data()print(<eiod_check>)summary(<eiod_check>) - Check a dataset before computing any metric
-
eiod_check_impact() - Check an environmental impact variable
-
eiod_check_precision() - Check the numerical precision of an impact variable
-
eiod_check_magnitude() - Check the magnitude of an impact variable against the global reference
-
eiod_check_demographics() - Check the age and sex variables
-
eiod_check_gdqs() - Check the Global Diet Quality Score variable
-
eiod_list_indicators() - List the seven environmental impact indicators
-
eiod_lookup_cutoff()print(<eiod_cutoff>)Ops(<eiod_cutoff>) - Look up a published cut-off value
-
eiod_cutoffs - Published cut-offs for every dietary environmental impact metric
-
eiod_indicators - The seven environmental impact indicators
-
eiod_demo - Synthetic respondent-day data for examples
-
eiod_demo_map - Indicator keys mapped to the demonstration data's column names
-
reiod-packagereiod - reiod: Dietary Environmental Impact Metrics from the Intake EIOD Framework