lemaslab / BEACH-reports

MIT License
1 stars 3 forks source link

create foodrecord2redcap function #33

Closed dlemas closed 1 year ago

dlemas commented 1 year ago

foodrecord2redcap will be a function that inputs the food processor file (wide format)- that includes manual edits by students - and outputs the file ready for import to redcap with a long format.

The function is available within: https://github.com/lemaslab/BEACH-reports/blob/master/code/utils/utils.R

The demo file: https://github.com/lemaslab/BEACH-reports/blob/master/code/demo/dietrecord2redcap_demo.Rmd shows how to use the function.

dlemas commented 1 year ago

Function drafted and completed.