The National League of Cities surveyed officials from 1,072 American cities from February through May 2017. The survey results published in October 2017 drew from responses by officials from 224 cities. The margin of error for the poll was 5 percent.