The earliest surviving complete census is 1901. In 1821, it would just have been numbers recorded, not names. 1841-1891 were destroyed over time.
You could try the Tithe Applotment records for head of household but they are by parish so you need a parish.
Kate