Skip to contents

Returns the table name and column names for all nutrient datasets.

Usage

list_nutrients(table = NULL)

Arguments

table

Optional table name to filter. NULL returns all tables.

Value

A tibble with columns table and nutrient.

Examples

list_nutrients()
#> # A tibble: 172 × 2
#>    table          nutrient                         
#>    <chr>          <chr>                            
#>  1 proximate      Water(g)                         
#>  2 proximate      Protein_PROTCNT(g)               
#>  3 proximate      Ash(g)                           
#>  4 proximate      TotalFat_FATCE(g)                
#>  5 proximate      TotalDietaryFibre_FIBTG(g)       
#>  6 proximate      InsolubleFibre_FIBINS(g)         
#>  7 proximate      SolubleFibre_FINSOL(g)           
#>  8 proximate      AvailableCarbohydrate_CHOAVLDF(g)
#>  9 proximate      Energy_ENERC(KJ)                 
#> 10 vitamins_water Thiamine_B1(mg)                  
#> # ℹ 162 more rows
list_nutrients("amino_acids")
#> # A tibble: 18 × 2
#>    table       nutrient            
#>    <chr>       <chr>               
#>  1 amino_acids Histidine_HIS(g)    
#>  2 amino_acids Isoleucine_ILE(g)   
#>  3 amino_acids Leucine_LEU(g)      
#>  4 amino_acids Lysine_LYS(g)       
#>  5 amino_acids Methionine_MET(g)   
#>  6 amino_acids Cysteine_CYS(g)     
#>  7 amino_acids Phenylalanine_PHE(g)
#>  8 amino_acids Threonine_THR(g)    
#>  9 amino_acids Tryptophan_TRP(g)   
#> 10 amino_acids Valine_VAL(g)       
#> 11 amino_acids Alanine_ALA(g)      
#> 12 amino_acids Arginine_ARG(g)     
#> 13 amino_acids AsparticAcid_ASP(g) 
#> 14 amino_acids GlutamicAcid_GLU(g) 
#> 15 amino_acids Glycine_GLY(g)      
#> 16 amino_acids Proline_PRO(g)      
#> 17 amino_acids Serine_SER(g)       
#> 18 amino_acids Tyrosine_TYR(g)