The National Hospital Discharge Survey (NHDS), which was conducted annually from 1965-2010, was a national probability survey designed to meet the need for information on characteristics of inpatients discharged from non-Federal short-stay hospitals in the United States. Data from the NHDS are available annually and are used to examine important topics of interest in public health and for a variety of activities by governmental, scientific, academic, and commercial institutions. This demo includes a total of 3,257,718 hospital discharges between 2000 and 2010. For more information visit https://www.cdc.gov/nchs/nhds/index.htm .
Using the EHRtemporalVariability R package allows more flexibility in raw data formatting and variable preprocessing, such as formatting ICD-9 codes, selecting or deriving specific variables, or even reducing the dimensionality of data. The resultant objects of classes 'DataTemporalMap' and 'IGTProjection' can be used as input for the shiny App. You can save them in a file to be uploaded herein by typing: save( dataTemporalMaps, igtProjections, file = “myResults.RData ). For more information read the accompaining vignette/case study.
Do not upload patient-level data
To see what a correctly formatted data set looks like download the NHDS demo file below (limited to a 10% random subsample of the NHDS data between 2000 and 2010).Download the NHDS RData here!