Skip to contents

Query

Look up nutritional data

get_nutrition()
Query nutritional data for one or more foods
get_nutrition_with_se()
Query point estimates and standard errors together
list_foods()
List all foods in the IFCT 2017 database
list_nutrients()
List available nutrient columns
search_food()
Search foods by name
food_profile()
Full nutritional profile for a food
compose_meal()
Compose a meal from multiple foods and compute scaled nutrient totals
decode_food_code()
Decode an IFCT food code to its food group
decode_region()
Decode a state or UT name to its IFCT sampling region

Visualisation

Plot functions and themes

theme_thali()
ggplot2 theme for thali plots
food_group_colours()
Food group colour palette
plot_composition()
Plot the nutrient composition of one food
plot_food_profile()
Multi-panel nutritional overview of a single food
plot_meal_profile()
Stacked bar chart of meal nutrient contributions by ingredient
thali_plot()
Thali radar chart : nutrient fingerprint split by category
plot_ranked()
Ranked bar chart of foods by a single nutrient
run_pca()
Run PCA on a thali nutrient table
plot_pca()
PCA score plot coloured by food group
plot_pca_loadings()
PCA loadings plot
plot_pca_biplot()
PCA biplot
plot_heatmap()
Nutrient heatmap
plot_nutrient_scatter()
Scatter plot of two nutrients across foods

Point-estimate datasets

IFCT 2017 data — point estimates

thali_proximate
Proximate Principles and Dietary Fibre
thali_vitamins_water
Water-Soluble Vitamins
thali_vitamins_fat
Fat-Soluble Vitamins
thali_carotenoids
Carotenoids
thali_minerals
Minerals and Trace Elements
thali_sugars
Starch and Individual Sugars
thali_fatty_acids
Fatty Acid Profile
thali_amino_acids
Amino Acid Profile
thali_organic_acids
Organic Acids
thali_polyphenols
Polyphenols
thali_oligosaccharides
Oligosaccharides, Phytosterols, Phytic Acid and Saponins
thali_edible_oils
Fatty Acid Profile of Edible Oils and Fats

Lookup tables

Reference metadata for nutrients

amino_acid_classification
Amino Acid Classification

Sampling metadata

IFCT 2017 sampling design

thali_regions
IFCT 2017 Sampling Regions
thali_sampling_units
IFCT 2017 Sampling Units by State/UT

Standard error datasets

IFCT 2017 data: standard errors

thali_proximate_se
Proximate Principles and Dietary Fibre: Standard Errors
thali_vitamins_water_se
Water-Soluble Vitamins: Standard Errors
thali_vitamins_fat_se
Fat-Soluble Vitamins: Standard Errors
thali_carotenoids_se
Carotenoids: Standard Errors
thali_minerals_se
Minerals and Trace Elements: Standard Errors
thali_sugars_se
Starch and Individual Sugars: Standard Errors
thali_fatty_acids_se
Fatty Acid Profile: Standard Errors
thali_amino_acids_se
Amino Acid Profile: Standard Errors
thali_organic_acids_se
Organic Acids: Standard Errors
thali_polyphenols_se
Polyphenols: Standard Errors
thali_oligosaccharides_se
Oligosaccharides, Phytosterols, Phytic Acid and Saponins: Standard Errors
thali_edible_oils_se
Fatty Acid Profile of Edible Oils and Fats: Standard Errors