Study links real-time data to flu vaccine strategies