There is a newer version of this record available.

Dataset Open Access

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


JSON Export

{
  "files": [
    {
      "links": {
        "self": "https://zenodo.org/api/files/c35f159d-82f4-4e12-84ec-b34991832ffd/analysis%20script.r"
      }, 
      "checksum": "md5:ff9f0f77d0cd99e3d0a312abb3710c03", 
      "bucket": "c35f159d-82f4-4e12-84ec-b34991832ffd", 
      "key": "analysis script.r", 
      "type": "r", 
      "size": 23773
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/c35f159d-82f4-4e12-84ec-b34991832ffd/merging%20script.r"
      }, 
      "checksum": "md5:667e00689ea5642b5330e5bf5c493313", 
      "bucket": "c35f159d-82f4-4e12-84ec-b34991832ffd", 
      "key": "merging script.r", 
      "type": "r", 
      "size": 9784
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/c35f159d-82f4-4e12-84ec-b34991832ffd/NHANES%20files%20used%20in%20study.txt"
      }, 
      "checksum": "md5:c47c89b054629241504026ff92718aa8", 
      "bucket": "c35f159d-82f4-4e12-84ec-b34991832ffd", 
      "key": "NHANES files used in study.txt", 
      "type": "txt", 
      "size": 311
    }
  ], 
  "owners": [
    32062
  ], 
  "doi": "10.5281/zenodo.2649032", 
  "stats": {
    "version_unique_downloads": 27.0, 
    "unique_views": 32.0, 
    "views": 35.0, 
    "version_views": 116.0, 
    "unique_downloads": 6.0, 
    "version_unique_views": 96.0, 
    "volume": 202897.0, 
    "version_downloads": 63.0, 
    "downloads": 17.0, 
    "version_volume": 805222.0
  }, 
  "links": {
    "doi": "https://doi.org/10.5281/zenodo.2649032", 
    "conceptdoi": "https://doi.org/10.5281/zenodo.2649031", 
    "bucket": "https://zenodo.org/api/files/c35f159d-82f4-4e12-84ec-b34991832ffd", 
    "conceptbadge": "https://zenodo.org/badge/doi/10.5281/zenodo.2649031.svg", 
    "html": "https://zenodo.org/record/2649032", 
    "latest_html": "https://zenodo.org/record/3361283", 
    "badge": "https://zenodo.org/badge/doi/10.5281/zenodo.2649032.svg", 
    "latest": "https://zenodo.org/api/records/3361283"
  }, 
  "conceptdoi": "10.5281/zenodo.2649031", 
  "created": "2019-04-23T09:07:43.923980+00:00", 
  "updated": "2020-01-24T19:23:53.308063+00:00", 
  "conceptrecid": "2649031", 
  "revision": 5, 
  "id": 2649032, 
  "metadata": {
    "access_right_category": "success", 
    "doi": "10.5281/zenodo.2649032", 
    "description": "<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>\n\n<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>\n\n<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>\n\n<p># Demographics, food insecurity and BMI<br>\nDEMO_H.XPT<br>\nFSQ_H.XPT<br>\nBMX_H.XPT</p>\n\n<p># Summary files of food recalls<br>\nDR1TOT_H.XPT<br>\nDR2TOT_H.XPT</p>\n\n<p># Individual foods files from food recalls<br>\nDR1FF_H.XPT<br>\nDR2FF_H.XPT</p>\n\n<p>The second R script takes the .csv file output by the merging script, and reproduces the analyses described in the paper.</p>\n\n<p>Uploaded by Daniel Nettle, April 23rd 2019.</p>", 
    "license": {
      "id": "CC-BY-4.0"
    }, 
    "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'", 
    "relations": {
      "version": [
        {
          "count": 2, 
          "index": 0, 
          "parent": {
            "pid_type": "recid", 
            "pid_value": "2649031"
          }, 
          "is_last": false, 
          "last_child": {
            "pid_type": "recid", 
            "pid_value": "3361283"
          }
        }
      ]
    }, 
    "grants": [
      {
        "code": "666669", 
        "links": {
          "self": "https://zenodo.org/api/grants/10.13039/501100000780::666669"
        }, 
        "title": "The effects of early-life adversity on cognition: A comparative approach.", 
        "acronym": "COMSTAR", 
        "program": "H2020", 
        "funder": {
          "doi": "10.13039/501100000780", 
          "acronyms": [], 
          "name": "European Commission", 
          "links": {
            "self": "https://zenodo.org/api/funders/10.13039/501100000780"
          }
        }
      }
    ], 
    "publication_date": "2019-04-23", 
    "creators": [
      {
        "affiliation": "Newcastle University", 
        "name": "Nettle, Daniel"
      }, 
      {
        "affiliation": "Newcastle University", 
        "name": "Bateson, Melissa"
      }
    ], 
    "access_right": "open", 
    "resource_type": {
      "type": "dataset", 
      "title": "Dataset"
    }, 
    "related_identifiers": [
      {
        "scheme": "doi", 
        "identifier": "10.5281/zenodo.2649031", 
        "relation": "isVersionOf"
      }
    ]
  }
}
116
63
views
downloads
All versions This version
Views 11635
Downloads 6317
Data volume 805.2 kB202.9 kB
Unique views 9632
Unique downloads 276

Share

Cite as