Skip to contents

Functions

Nutritional Calculators

CARTBEQ_calc_combiner()
Calculate a combined CARTBEQ value from various inputs
ENERCKcal_calculator()
ENERCKcal calculator A function used to calculate Energy values in kcal
ENERCKj_calculator()
ENERCKj calculator A function used to calculate Energy values in kj
SOPg_calculator()
Sum of Proximate Calculator
CHOAVLDFg_calculator()
Carbohydrates (calculated by difference) Calculator
NIAmg_calc_combiner()
Niacin Calculator and Combiner
THIAmg_combiner()
Thiamine Nutrient Combiner
VITA_RAEmcg_calculator()
Vitamin A (Retinol Activity Equivalent) Calculator
VITAmcg_calculator()
Vitamin A Calculator
nutri_combiner()
Multi-column Nutrient Combiner

Food Matching

Fuzzy_Matcher()
A GUI interface to match rows in two dataframes to each other via a fuzzy string search

Food Dataset Management

Decimal_System_Checker()
A tool to test the integrity of a decimal system in a dataframe

Output Summaries and Checks

Absence_Check()
Absence Checker
Change_Summary()
Change Summary
Column_Comparison()
Column Name Comparer
Group_Summariser()
Insert summary rows between groups of rows in a data frame

Data Imputation

Data_Imputer() experimental
Data Imputer

Package helper functions

Description_Generator()
Description Generator
Table_Creator()
Table Creator

Superseded functions

ENERCKcal_standardised() superseded
A function used to calculate standardized Energy values in kcal
ENERCKj_standardised() superseded
A function used to calculate standardized Energy values in kJ

Built-in datasets

breakfast_df
Imaginary Food Items
breakfast_df_nonstandard
Imaginary Food Items
WA19_subset
WA19 subset
KE18_subset_modified
KE19 Subset, modified to contain missing data
Absence_Table
Absence Table