Closed dlemas closed 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.
Function drafted and completed.
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.