thoppe / NCHS-data-remodeling

Converting NCHS fixed-width datasets into a modern format in a reproducible way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NCHS Data Remodeling

Converting NCHS fixed-width datasets to CSV in a reproducible way.

Known issues

  • The dash instance is fixed, but it needs to be documented.
   value CASEID
      70622-80715="Respondent ID number" ;
   value CASISMK
      0="NEVER SMOKED REGULARLY"
      11="11 YEARS OR YOUNGER"
      12="12 YEARS OLD"
      13="13 YEARS OLD"
      14="14 YEARS OLD"
      15="15 YEARS OLD"
      16="16 YEARS OLD"
      17="17 YEARS OLD"
      18="18 YEARS OLD"
      19="19 YEARS OLD"
      20-24="20-24 YEARS OLD"
      25-29="25-29 YEARS OLD"
  • Add in a description for each dataset.
  • Import multiple files from SAS import (NAMCS)
  • Import from sas7bdat (NAMCS)

Datasets

National Health Care Surveys (1993-2019) πŸ““ 🏠

NHAMCS is designed to collect data on the utilization and provision of ambulatory care services in hospital emergency and outpatient departments and ambulatory surgery locations.

  • 🚫 NAMCS 2019

National Survey of Family Growth (1973-2019) πŸ““ 🏠

The National Survey of Family Growth (NSFG) gathers information on family life, marriage and divorce, pregnancy, infertility, use of contraception, and men’s and women’s health.

  • πŸ““ 2017-2019 NSFG Female Response
  • πŸ““ 2017-2019 NSFG Female Pregnant Response
  • πŸ““ 2017-2019 NSFG Male Response
  • πŸ““ 2015-2017 NSFG Female Response
  • πŸ““ 2015-2017 NSFG Female Pregnant Response
  • πŸ““ 2015-2017 NSFG Male Response
  • πŸ““ 2013-2015 NSFG Female Response
  • πŸ““ 2013-2015 NSFG Female Pregnant Response
  • πŸ““ 2013-2015 NSFG Male Response

Credits

  • Travis Hoppe

About

Converting NCHS fixed-width datasets into a modern format in a reproducible way


Languages

Language:Python 99.1%Language:Makefile 0.9%