Legislation regulating official statistics