Dataset Open Access
Nettle, Daniel; Bateson, Melissa
<?xml version='1.0' encoding='utf-8'?> <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd"> <identifier identifierType="DOI">10.5281/zenodo.2649032</identifier> <creators> <creator> <creatorName>Nettle, Daniel</creatorName> <givenName>Daniel</givenName> <familyName>Nettle</familyName> <affiliation>Newcastle University</affiliation> </creator> <creator> <creatorName>Bateson, Melissa</creatorName> <givenName>Melissa</givenName> <familyName>Bateson</familyName> <affiliation>Newcastle University</affiliation> </creator> </creators> <titles> <title>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'</title> </titles> <publisher>Zenodo</publisher> <publicationYear>2019</publicationYear> <dates> <date dateType="Issued">2019-04-23</date> </dates> <resourceType resourceTypeGeneral="Dataset"/> <alternateIdentifiers> <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/2649032</alternateIdentifier> </alternateIdentifiers> <relatedIdentifiers> <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.2649031</relatedIdentifier> </relatedIdentifiers> <rightsList> <rights rightsURI="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International</rights> <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights> </rightsList> <descriptions> <description descriptionType="Abstract"><p>Code to reproduce the analyses in the study &#39;<strong>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&#39;</strong></p> <p>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).</p> <p>The first R script, &#39;merging script.r&#39; 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:</p> <p># Demographics, food insecurity and BMI<br> DEMO_H.XPT<br> FSQ_H.XPT<br> BMX_H.XPT</p> <p># Summary files of food recalls<br> DR1TOT_H.XPT<br> DR2TOT_H.XPT</p> <p># Individual foods files from food recalls<br> DR1FF_H.XPT<br> DR2FF_H.XPT</p> <p>The second R script takes the .csv file output by the merging script, and reproduces the analyses described in the paper.</p> <p>Uploaded by Daniel Nettle, April 23rd 2019.</p></description> </descriptions> <fundingReferences> <fundingReference> <funderName>European Commission</funderName> <funderIdentifier funderIdentifierType="Crossref Funder ID">10.13039/100010661</funderIdentifier> <awardNumber awardURI="info:eu-repo/grantAgreement/EC/H2020/666669/">666669</awardNumber> <awardTitle>The effects of early-life adversity on cognition: A comparative approach.</awardTitle> </fundingReference> </fundingReferences> </resource>
All versions | This version | |
---|---|---|
Views | 116 | 35 |
Downloads | 63 | 17 |
Data volume | 805.2 kB | 202.9 kB |
Unique views | 96 | 32 |
Unique downloads | 27 | 6 |