A textile community in the industrial revolution