Actions
shareshare link cite add Please grant OpenAIRE to access and update your ORCID works.This Research product is the result of merged Research products in OpenAIRE.
You have already added 0 works in your ORCID record related to the merged Research product.
See an issue? Give us feedback
Please grant OpenAIRE to access and update your ORCID works.
This Research product is the result of merged Research products in OpenAIRE.
You have already added 0 works in your ORCID record related to the merged Research product.
You have already added 0 works in your ORCID record related to the merged Research product.
Research data . Dataset . 2019
Code for 'Food-insecure women eat a less diverse diet in a more temporally variable way: Evidence from the US National Health and Nutrition Examination Survey, 2013-4'
Nettle, Daniel; Bateson, Melissa;
Nettle, Daniel; Bateson, Melissa;
Open Access
Published: 23 Apr 2019
Publisher: Zenodo
Abstract
Code to reproduce the analyses in the study 'Food-insecure women eat a less diverse diet in a more temporally variable way: Evidence from the US National Health and Nutrition Examination Survey, 2013-4' The analysis requires two R scripts available here, plus original 2013-4 NHANES data files, downloadable from the NHANES website (https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2013). The first R script, 'merging script.r' takes the original NHANES files, extracts the variables required for the study, merges them into a single data frame, and saves this in .csv format. The NHANES files it requires are: # Demographics, food insecurity and BMI DEMO_H.XPT FSQ_H.XPT BMX_H.XPT # Summary files of food recalls DR1TOT_H.XPT DR2TOT_H.XPT # Individual foods files from food recalls DR1FF_H.XPT DR2FF_H.XPT The second R script takes the .csv file output by the merging script, and reproduces the analyses and figures described in the paper. Initially uploaded by Daniel Nettle, April 23rd 2019. Slightly revised versions uploaded August 6th 2019 by Daniel Nettle.
Related Organizations
- Newcastle University United Kingdom
All relations
2 Research products, page 1 of 1
See an issue? Give us feedback
Funded by
EC| COMSTAR
Project
COMSTAR
The effects of early-life adversity on cognition: A comparative approach.
- Funder: European Commission (EC)
- Project Code: 666669
- Funding stream: H2020 | ERC | ERC-ADG
Download fromView all 3 sources
Do the share buttons not appear? Please make sure, any blocking addon is disabled, and then reload the page.