New data has revealed the risks associated with fireworks in Yorkshire.