addPriceData {DIETCOST}R Documentation

Price data addition

Description

Adds price data to foods dataframe.

Usage

addPriceData(filepath, df)

Arguments

filepath

Path in which the dataset, in .xlsx format, is stored..

df

Foods dataframe.

Value

Foods dataframe with added price data.


[Package DIETCOST version 1.0.0.0 Index]