{
  "title": "NHANES: where codebook counts and data files differ",
  "lead": [
    "Each line gives two numbers: the count printed on the CDC documentation page, and the count in the CDC data file (XPT) of the same name. Both sources are linked with retrieval dates.",
    "Mdexa serves the values in the data file."
  ],
  "data_version": "v-f2c52d6ed1be58de",
  "computed": "2026-11-28",
  "lines": [
    {
      "id": "dlq-j-sum-dlq010",
      "file": "DLQ_J",
      "variables": [
        "DLQ010",
        "DLQ020",
        "DLQ040",
        "DLQ050",
        "DLQ060",
        "DLQ080",
        "DLQ100",
        "DLQ110",
        "DLQ130",
        "DLQ140",
        "DLQ150",
        "DLQ170"
      ],
      "kind": "sum_of_counts",
      "documentation_count": 8898,
      "data_file_count": 8897,
      "text": "DLQ_J: for DLQ010, DLQ020, DLQ040, DLQ050, DLQ060, DLQ080, DLQ100, DLQ110, DLQ130, DLQ140, DLQ150 and DLQ170, the counts printed on the documentation page add up to 8,898; the data file has 8,897 rows."
    },
    {
      "id": "dlq-j-dlq010-value-2",
      "file": "DLQ_J",
      "variables": [
        "DLQ010"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 8338,
      "data_file_count": 8337,
      "text": "DLQ_J DLQ010, value 2: the documentation page prints 8,338; the data file has 8,337."
    },
    {
      "id": "dlq-j-dlq020-value-2",
      "file": "DLQ_J",
      "variables": [
        "DLQ020"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 8432,
      "data_file_count": 8431,
      "text": "DLQ_J DLQ020, value 2: the documentation page prints 8,432; the data file has 8,431."
    },
    {
      "id": "dlq-j-dlq040-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ040"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 842,
      "data_file_count": 841,
      "text": "DLQ_J DLQ040, missing: the documentation page prints 842; the data file has 841."
    },
    {
      "id": "dlq-j-dlq050-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ050"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 842,
      "data_file_count": 841,
      "text": "DLQ_J DLQ050, missing: the documentation page prints 842; the data file has 841."
    },
    {
      "id": "dlq-j-dlq060-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ060"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 842,
      "data_file_count": 841,
      "text": "DLQ_J DLQ060, missing: the documentation page prints 842; the data file has 841."
    },
    {
      "id": "dlq-j-dlq080-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ080"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 2602,
      "data_file_count": 2601,
      "text": "DLQ_J DLQ080, missing: the documentation page prints 2,602; the data file has 2,601."
    },
    {
      "id": "dlq-j-dlq100-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ100"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 3136,
      "data_file_count": 3135,
      "text": "DLQ_J DLQ100, missing: the documentation page prints 3,136; the data file has 3,135."
    },
    {
      "id": "dlq-j-dlq110-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ110"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 3136,
      "data_file_count": 3135,
      "text": "DLQ_J DLQ110, missing: the documentation page prints 3,136; the data file has 3,135."
    },
    {
      "id": "dlq-j-dlq130-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ130"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 4573,
      "data_file_count": 4572,
      "text": "DLQ_J DLQ130, missing: the documentation page prints 4,573; the data file has 4,572."
    },
    {
      "id": "dlq-j-dlq140-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ140"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 3136,
      "data_file_count": 3135,
      "text": "DLQ_J DLQ140, missing: the documentation page prints 3,136; the data file has 3,135."
    },
    {
      "id": "dlq-j-dlq150-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ150"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 3136,
      "data_file_count": 3135,
      "text": "DLQ_J DLQ150, missing: the documentation page prints 3,136; the data file has 3,135."
    },
    {
      "id": "dlq-j-dlq170-missing",
      "file": "DLQ_J",
      "variables": [
        "DLQ170"
      ],
      "kind": "missing",
      "code": ".",
      "documentation_count": 5861,
      "data_file_count": 5860,
      "text": "DLQ_J DLQ170, missing: the documentation page prints 5,861; the data file has 5,860."
    },
    {
      "id": "folfms-l-lbdsf2lc-value-0",
      "file": "FOLFMS_L",
      "variables": [
        "LBDSF2LC"
      ],
      "kind": "value",
      "code": "0",
      "documentation_count": 7272,
      "data_file_count": 7270,
      "text": "FOLFMS_L LBDSF2LC, value 0: the documentation page prints 7,272; the data file has 7,270."
    },
    {
      "id": "folfms-l-lbdsf2lc-value-1",
      "file": "FOLFMS_L",
      "variables": [
        "LBDSF2LC"
      ],
      "kind": "value",
      "code": "1",
      "documentation_count": 76,
      "data_file_count": 78,
      "text": "FOLFMS_L LBDSF2LC, value 1: the documentation page prints 76; the data file has 78."
    },
    {
      "id": "folfms-l-lbdsf6lc-value-0",
      "file": "FOLFMS_L",
      "variables": [
        "LBDSF6LC"
      ],
      "kind": "value",
      "code": "0",
      "documentation_count": 7348,
      "data_file_count": 7347,
      "text": "FOLFMS_L LBDSF6LC, value 0: the documentation page prints 7,348; the data file has 7,347."
    },
    {
      "id": "folfms-l-lbdsf6lc-value-1",
      "file": "FOLFMS_L",
      "variables": [
        "LBDSF6LC"
      ],
      "kind": "value",
      "code": "1",
      "documentation_count": 0,
      "data_file_count": 1,
      "text": "FOLFMS_L LBDSF6LC, value 1: the documentation page prints 0; the data file has 1."
    },
    {
      "id": "dsbi-sum-dsdiid",
      "file": "DSBI",
      "variables": [
        "DSDIID",
        "DSDINGR",
        "DSDBID",
        "DSDBCNAM",
        "DSDBCCAT",
        "DSDBCID"
      ],
      "kind": "sum_of_counts",
      "documentation_count": 35942,
      "data_file_count": 37061,
      "text": "DSBI: for all 6 variables, the counts printed on the documentation page add up to 35,942; the data file has 37,061 rows."
    },
    {
      "id": "dsbi-dsdiid-range",
      "file": "DSBI",
      "variables": [
        "DSDIID"
      ],
      "kind": "range",
      "code": [
        88,
        19815
      ],
      "documentation_count": 35942,
      "data_file_count": 37061,
      "text": "DSBI DSDIID, range 88 to 19815: the documentation page prints 35,942; the data file has 37,061."
    },
    {
      "id": "dsbi-dsdingr-recorded",
      "file": "DSBI",
      "variables": [
        "DSDINGR"
      ],
      "kind": "recorded",
      "code": "INGREDIENT NAME",
      "documentation_count": 35942,
      "data_file_count": 37061,
      "text": "DSBI DSDINGR, value was recorded: the documentation page prints 35,942; the data file has 37,061."
    },
    {
      "id": "dsbi-dsdbid-range",
      "file": "DSBI",
      "variables": [
        "DSDBID"
      ],
      "kind": "range",
      "code": [
        3,
        19809
      ],
      "documentation_count": 35942,
      "data_file_count": 37061,
      "text": "DSBI DSDBID, range 3 to 19809: the documentation page prints 35,942; the data file has 37,061."
    },
    {
      "id": "dsbi-dsdbcnam-recorded",
      "file": "DSBI",
      "variables": [
        "DSDBCNAM"
      ],
      "kind": "recorded",
      "code": "BLEND COMPONENT NAME",
      "documentation_count": 35942,
      "data_file_count": 37061,
      "text": "DSBI DSDBCNAM, value was recorded: the documentation page prints 35,942; the data file has 37,061."
    },
    {
      "id": "dsbi-dsdbccat-value-1",
      "file": "DSBI",
      "variables": [
        "DSDBCCAT"
      ],
      "kind": "value",
      "code": "1",
      "documentation_count": 449,
      "data_file_count": 470,
      "text": "DSBI DSDBCCAT, value 1: the documentation page prints 449; the data file has 470."
    },
    {
      "id": "dsbi-dsdbccat-value-2",
      "file": "DSBI",
      "variables": [
        "DSDBCCAT"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 1921,
      "data_file_count": 1928,
      "text": "DSBI DSDBCCAT, value 2: the documentation page prints 1,921; the data file has 1,928."
    },
    {
      "id": "dsbi-dsdbccat-value-3",
      "file": "DSBI",
      "variables": [
        "DSDBCCAT"
      ],
      "kind": "value",
      "code": "3",
      "documentation_count": 20870,
      "data_file_count": 21413,
      "text": "DSBI DSDBCCAT, value 3: the documentation page prints 20,870; the data file has 21,413."
    },
    {
      "id": "dsbi-dsdbccat-value-4",
      "file": "DSBI",
      "variables": [
        "DSDBCCAT"
      ],
      "kind": "value",
      "code": "4",
      "documentation_count": 10667,
      "data_file_count": 11100,
      "text": "DSBI DSDBCCAT, value 4: the documentation page prints 10,667; the data file has 11,100."
    },
    {
      "id": "dsbi-dsdbccat-value-5",
      "file": "DSBI",
      "variables": [
        "DSDBCCAT"
      ],
      "kind": "value",
      "code": "5",
      "documentation_count": 2035,
      "data_file_count": 2150,
      "text": "DSBI DSDBCCAT, value 5: the documentation page prints 2,035; the data file has 2,150."
    },
    {
      "id": "dsbi-dsdbcid-recorded",
      "file": "DSBI",
      "variables": [
        "DSDBCID"
      ],
      "kind": "recorded",
      "code": "BLEND COMPONENT ID - OLD VERSION",
      "documentation_count": 24976,
      "data_file_count": 25010,
      "text": "DSBI DSDBCID, value was recorded: the documentation page prints 24,976; the data file has 25,010."
    },
    {
      "id": "dsbi-dsdbcid-missing",
      "file": "DSBI",
      "variables": [
        "DSDBCID"
      ],
      "kind": "missing",
      "code": "< blank >",
      "documentation_count": 10966,
      "data_file_count": 12051,
      "text": "DSBI DSDBCID, missing: the documentation page prints 10,966; the data file has 12,051."
    },
    {
      "id": "dsii-sum-dsdpid",
      "file": "DSII",
      "variables": [
        "DSDPID",
        "DSDSUPP",
        "DSDIID",
        "DSDINGR",
        "DSDOPER",
        "DSDQTY",
        "DSDUNIT",
        "DSDCAT",
        "DSDBLFLG",
        "DSDINGID"
      ],
      "kind": "sum_of_counts",
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII: for all 10 variables, the counts printed on the documentation page add up to 188,572; the data file has 188,552 rows."
    },
    {
      "id": "dsii-dsdpid-range",
      "file": "DSII",
      "variables": [
        "DSDPID"
      ],
      "kind": "range",
      "code": [
        1,
        28553
      ],
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII DSDPID, range 1 to 28553: the documentation page prints 188,572; the data file has 188,552."
    },
    {
      "id": "dsii-dsdsupp-recorded",
      "file": "DSII",
      "variables": [
        "DSDSUPP"
      ],
      "kind": "recorded",
      "code": "SUPPLEMENT NAME",
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII DSDSUPP, value was recorded: the documentation page prints 188,572; the data file has 188,552."
    },
    {
      "id": "dsii-dsdiid-range",
      "file": "DSII",
      "variables": [
        "DSDIID"
      ],
      "kind": "range",
      "code": [
        1,
        19815
      ],
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII DSDIID, range 1 to 19815: the documentation page prints 188,572; the data file has 188,552."
    },
    {
      "id": "dsii-dsdingr-recorded",
      "file": "DSII",
      "variables": [
        "DSDINGR"
      ],
      "kind": "recorded",
      "code": "INGREDIENT NAME",
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII DSDINGR, value was recorded: the documentation page prints 188,572; the data file has 188,552."
    },
    {
      "id": "dsii-dsdoper-recorded",
      "file": "DSII",
      "variables": [
        "DSDOPER"
      ],
      "kind": "recorded",
      "code": "INGREDIENT OPERATOR",
      "documentation_count": 188572,
      "data_file_count": 188552,
      "text": "DSII DSDOPER, value was recorded: the documentation page prints 188,572; the data file has 188,552."
    },
    {
      "id": "dsii-dsdqty-range",
      "file": "DSII",
      "variables": [
        "DSDQTY"
      ],
      "kind": "range",
      "code": [
        0,
        6000000
      ],
      "documentation_count": 188571,
      "data_file_count": 188551,
      "text": "DSII DSDQTY, range 0 to 6000000: the documentation page prints 188,571; the data file has 188,551."
    },
    {
      "id": "dsii-dsdunit-value-1",
      "file": "DSII",
      "variables": [
        "DSDUNIT"
      ],
      "kind": "value",
      "code": "1",
      "documentation_count": 109902,
      "data_file_count": 109962,
      "text": "DSII DSDUNIT, value 1: the documentation page prints 109,902; the data file has 109,962."
    },
    {
      "id": "dsii-dsdunit-value-2",
      "file": "DSII",
      "variables": [
        "DSDUNIT"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 14717,
      "data_file_count": 14718,
      "text": "DSII DSDUNIT, value 2: the documentation page prints 14,717; the data file has 14,718."
    },
    {
      "id": "dsii-dsdunit-value-4",
      "file": "DSII",
      "variables": [
        "DSDUNIT"
      ],
      "kind": "value",
      "code": "4",
      "documentation_count": 36264,
      "data_file_count": 36195,
      "text": "DSII DSDUNIT, value 4: the documentation page prints 36,264; the data file has 36,195."
    },
    {
      "id": "dsii-dsdunit-value-5",
      "file": "DSII",
      "variables": [
        "DSDUNIT"
      ],
      "kind": "value",
      "code": "5",
      "documentation_count": 14327,
      "data_file_count": 14316,
      "text": "DSII DSDUNIT, value 5: the documentation page prints 14,327; the data file has 14,316."
    },
    {
      "id": "dsii-dsdunit-value-32",
      "file": "DSII",
      "variables": [
        "DSDUNIT"
      ],
      "kind": "value",
      "code": "32",
      "documentation_count": 798,
      "data_file_count": 797,
      "text": "DSII DSDUNIT, value 32: the documentation page prints 798; the data file has 797."
    },
    {
      "id": "dsii-dsdcat-value-1",
      "file": "DSII",
      "variables": [
        "DSDCAT"
      ],
      "kind": "value",
      "code": "1",
      "documentation_count": 66877,
      "data_file_count": 66856,
      "text": "DSII DSDCAT, value 1: the documentation page prints 66,877; the data file has 66,856."
    },
    {
      "id": "dsii-dsdcat-value-2",
      "file": "DSII",
      "variables": [
        "DSDCAT"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 43731,
      "data_file_count": 43730,
      "text": "DSII DSDCAT, value 2: the documentation page prints 43,731; the data file has 43,730."
    },
    {
      "id": "dsii-dsdcat-value-4",
      "file": "DSII",
      "variables": [
        "DSDCAT"
      ],
      "kind": "value",
      "code": "4",
      "documentation_count": 54053,
      "data_file_count": 54055,
      "text": "DSII DSDCAT, value 4: the documentation page prints 54,053; the data file has 54,055."
    },
    {
      "id": "dsii-dsdblflg-value-2",
      "file": "DSII",
      "variables": [
        "DSDBLFLG"
      ],
      "kind": "value",
      "code": "2",
      "documentation_count": 182877,
      "data_file_count": 182857,
      "text": "DSII DSDBLFLG, value 2: the documentation page prints 182,877; the data file has 182,857."
    },
    {
      "id": "dsii-dsdingid-recorded",
      "file": "DSII",
      "variables": [
        "DSDINGID"
      ],
      "kind": "recorded",
      "code": "INGREDIENT ID NUMBER - OLD VERSION",
      "documentation_count": 142831,
      "data_file_count": 142822,
      "text": "DSII DSDINGID, value was recorded: the documentation page prints 142,831; the data file has 142,822."
    },
    {
      "id": "dsii-dsdingid-missing",
      "file": "DSII",
      "variables": [
        "DSDINGID"
      ],
      "kind": "missing",
      "code": "< blank >",
      "documentation_count": 45741,
      "data_file_count": 45730,
      "text": "DSII DSDINGID, missing: the documentation page prints 45,741; the data file has 45,730."
    },
    {
      "id": "dspi-dsdsrce-value-9",
      "file": "DSPI",
      "variables": [
        "DSDSRCE"
      ],
      "kind": "value",
      "code": "9",
      "documentation_count": 11750,
      "data_file_count": 11752,
      "text": "DSPI DSDSRCE, value 9: the documentation page prints 11,750; the data file has 11,752."
    },
    {
      "id": "dspi-dsdsrce-value-11",
      "file": "DSPI",
      "variables": [
        "DSDSRCE"
      ],
      "kind": "value",
      "code": "11",
      "documentation_count": 1013,
      "data_file_count": 1011,
      "text": "DSPI DSDSRCE, value 11: the documentation page prints 1,013; the data file has 1,011."
    }
  ],
  "sources": {
    "DLQ_J": {
      "cycle": "2017-2018",
      "documentation_page": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/2017/DataFiles/DLQ_J.htm",
        "retrieved": "2026-11-22"
      },
      "data_file": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/2017/DataFiles/DLQ_J.xpt",
        "retrieved": "2026-11-22"
      }
    },
    "FOLFMS_L": {
      "cycle": "2021-2023",
      "documentation_page": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/2021/DataFiles/FOLFMS_L.htm",
        "retrieved": "2026-11-22"
      },
      "data_file": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/2021/DataFiles/FOLFMS_L.xpt",
        "retrieved": "2026-11-22"
      }
    },
    "DSBI": {
      "cycle": "1999-2023",
      "documentation_page": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSBI.htm",
        "retrieved": "2026-11-28"
      },
      "data_file": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSBI.xpt",
        "retrieved": "2026-11-28"
      }
    },
    "DSII": {
      "cycle": "1999-2023",
      "documentation_page": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSII.htm",
        "retrieved": "2026-11-28"
      },
      "data_file": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSII.xpt",
        "retrieved": "2026-11-28"
      }
    },
    "DSPI": {
      "cycle": "1999-2023",
      "documentation_page": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSPI.htm",
        "retrieved": "2026-11-28"
      },
      "data_file": {
        "url": "https://wwwn.cdc.gov/Nchs/Data/Nhanes/Public/1999/DataFiles/DSPI.xpt",
        "retrieved": "2026-11-28"
      }
    }
  }
}