Choose between census and sample