Text this: The logic of survey analysis