CM1 Diet documentation

Associations

  1. Diet class diet_class

    Choose from
    Diet classes
    Default identifier
    name
    Example
    http://impact.brighterplanet.com/diets?diet_class=standard
    Example
    http://impact.brighterplanet.com/diets?diet_class[name]=standard

Attributes

  1. Cereals and grains share cereals_and_grains_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?cereals_and_grains_share=…
  2. Conventionality conventionality

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?conventionality=…
  3. Dairy share dairy_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?dairy_share=…
  4. Eggs share eggs_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?eggs_share=…
  5. End date end_date

    Accepts
    Date
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?end_date=…
  6. Fish share fish_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?fish_share=…
  7. Fruit share fruit_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?fruit_share=…
  8. Intensity intensity

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?intensity=…
  9. Nuts share nuts_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?nuts_share=…
  10. Oils and sugars share oils_and_sugars_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?oils_and_sugars_share=…
  11. Poultry share poultry_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?poultry_share=…
  12. Proximity proximity

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?proximity=…
  13. Red meat share red_meat_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?red_meat_share=…
  14. Size size

    Accepts
    Integer
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?size=…
  15. Start date start_date

    Accepts
    Date
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?start_date=…
  16. Vegetables share vegetables_share

    Accepts
    Float
    Falls back on
    0.2453
    Example
    http://impact.brighterplanet.com/diets?vegetables_share=…