Ingests the U.S. Consumer Product Safety Commission (CPSC) National Electronic Injury Surveillance System (NEISS) public files into the PopHIVE standard wide format.
NEISS is a national probability sample of about 100 U.S. hospital emergency departments, so all output is national (geography = "00"). Each record carries a survey weight; both raw sampled counts and weighted national estimates are produced. See measure_info.json for variable definitions and caveats.
This is a Data Collection Framework (dcf) data source project. It is maintained as a standalone repository rather than directly inside PopHIVE/Ingest; its standard/ output is pulled into Ingest/data/neiss from here.
ingest.R— downloads the yearly NEISS workbooks from CPSC (2019 onward, latest year auto-detected) and builds the standard filesmeasure_info.json— metadata for each output variableraw/lookups.rds,raw/nc-est2023-agesex-res.csv— diagnosis/sex/race code tables and the Census population estimates used for rates.ingest.Rre-downloads them if absent.raw/neiss<year>.xlsx— yearly CPSC workbooks (up to ~50 MB each). Gitignored;ingest.Rdownloads them.standard/— standardized output, two age schemes by two injury breakdowns, each with a_ratevariant:data_infant_diagnosis,data_infant_product— children under 2, age in monthsdata_agegroup_diagnosis,data_agegroup_product— 12 age groups
standard/data_infant_product_code.csv.gz,standard/data_agegroup_product_code.csv.gz— individual CPSC products, one row per year × age × sex × product code, with CPSC's product titles (from theNEISS_FMTsheet in each workbook). A visit counts under each of the up to three products on its record. Use these to rank products: the*_productfiles group products by code range, which is approximate and puts some products in misleading groups (beds and tables under sports & recreation, floors and stairs under personal use).
PopHIVE/Ingest (data/neiss), which feeds the bundle_sex_disparities and bundle_youth_wellbeing bundles.
dcf::dcf_process()