A census can be contrasted with sampling in which information is obtained only from a subset of a population.