This data is available for police gunfights, albeit scattered across multiple datasets.
It shows that long range shooting, high cap magazines, and combat reloads are just the stuff of fantasy. Lots of gun buffs watch too many movies.
The vast majority of police gunfights are at 10 feet or less. The typical number of shots fired per officer is 3 to 4. The probability of a hit is low, from 15% to 40% depending on datasets. The number of shots fired per officer is higher, and the probability of a hit is lower, when there are multiple officers shooting ("bunch shooting"). The typical gunfight lasts a few seconds to several seconds. It usually happens in darkness or low light.
I haven't found data for self defense citizen shootings, and there probably is none. Police departments collect officer shooting data for analysis and training. There is no-one collecting this data for CCW shootings - which are extremely rare, anyway.
Read away:
http://www.theppsc.org/Staff_Views/Aveni/OIS.pdf