Dataset Open Access
Shinwell, Jackie; Bateson, Melissa; Nettle, Daniel; Pepper, Gillian
Data and code for ' Food insecurity, macronutrient intake and patterns of eating in a sample of UK adults' by Shinwell et al.
For the UK data, the script 'analysis UK dataset.r' is required along with the csv data file.
For the NHANES data analyses, the user needs to:
a) Download the required 2013-4 NHANES data files as described at https://zenodo.org/record/3361283
b) Run the script 'merging.script.r' from https://zenodo.org/record/3361283
c) Using the resulting .csv file in conjunction with the script 'analysis NHANES dataset.r' to reproduce the analyses in the paper.
The reason for doing it this indirect way is that the raw NHANES data are not ours to share.