A comprehensive social history of New York’s immigrant transformation.