get_fped: FPED data retrieval.

Description Usage Arguments Value References Examples

Description

get_fped returns an abridged Food Patterns Equivalents Database (FPED) data set for a given year.

Usage

1
get_fped(year, day)

Arguments

year

year combination of data set to retrieve ... must be one of the following:

  • "2005/2006"

  • "2007/2008"

  • "2009/2010"

  • "2011/2012"

  • "2013/2014"

day

identifier for survey day to retrieve ... must be one of the following:

  • "first" (data for study participants from first day)

  • "second" (study participant data from second day)

  • "both" (data for study participants present in both days, with values averaged across the two days)

Value

Object of class data.frame containing a modified FPED data set for specified year and day. FPED proper contains several more variables than are necessary for computing HEI scores. The data set returned by this function has been trimmed down to contain (in addition to an NHANES unique sequence identifier for each participant, age, and dietary recall status) only the columns of data needed for HEI score calculation, specifically:

References

https://www.ars.usda.gov/northeast-area/beltsville-md/beltsville-human-nutrition-research-center/food-surveys-research-group/docs/fped-overview/

Examples

1
2
get_fped("2009/2010", "both")
get_fped("2005/2006", "first")

vpnagraj/hei documentation built on May 3, 2019, 6:41 p.m.