The material posted here contains the data and the computer code for the paper "Violent and Nonviolent Death Tolls for the Gaza War: New Primary Evidence by Michael Spagat, Jon Pedersen, Khalil Shikaki, Michael Robbins, Eran Bendavid, Havard Hegre and Debarati Guha-Sapir. The main data was collected in the Gaza Strip between December 30, 2024 and January 5, 2025 in what we have called the "Gaza Mortality Survey (GMS)". The GMS data is divided into three primary data files, "households.sav", "respondents.sav" and "births.sav", and one processed data file, "GMS_at_risk_apr_18_2025.rds" There are also a data files called "MoH_List_10_7_24.csv" and "MoH_List_3_23_25.csv" which are official detailed lists of people killed violently in the first year of the war, for the first list, and from the beginning of the war through March 23, 2025 for the second list. This information was released by the Gaza Ministry of Health and cleaned up by Gabriel Epstein of Israel Policy Forum. "Combined various calculations.R" is all the computer code for everything except for the main estimates. "estimates_version for revised Nature submission.R" gives the computer code for the main estimates. The same code is provided with commentary in "Gaza Strip Mortality version for revised nature submission.rmd" and "Gaza-Strip-Mortality-version-for-revised-nature-submission.html". "power_calculations_vary_deaths_by_household.R" gives sample size calculations we did before conducting the survey.