Open LuciaSegovia opened 1 year ago
Hi Lucia!
I was wondering if you could point me in the direction of a single file example for input numbers 1 and 3? I can build the tool around them :)
Many thanks
Tom
Sorry @TomCodd for missing this, do you still need the data inputs?
Rationale: Food matching for HCES is done manually using R scripts. See code:
Objective: Generate a function that matches every food item in a given food list (i.e., food consumed by a household) and for every nutrient/ component of interest following a pre-defined hierarchical list of food composition data sources.
User inputs:
Output:
Dataframe (exportable to csv, excel, etc) with the food list and the relevant nutrient/ component values and the correspoding metadata/ documentation. For instance, the source of the values per food and nutrient/ component, by providing the food item(s) code and the FCT id (e.g., KE18(1002).