How do you collect data that is both representative and accurate, especially when it’s impossible to survey everyone in your community?

How do you collect data that is both representative and accurate, especially when it’s impossible to survey everyone in your community?