Energy Planning in a Big Data Era: A Theme Study of the Residential Sector