One in every £3 in York is spent by visitors from elsewhere, according to analysis by think tank Centre for Cities.