Export view as csv