Read the following sentence and choose the option that best improves its clarity and effectiveness:
In order to understand the needs of the community, a survey was devised and conducted by the city officials, ensuring that their opinions were gathered and acknowledged in the decision-making process.