The government is gathering data from 31 counties and unitary authorities to help form legislation.