baltimore: Baltimore energy data

Description Usage Format Details Examples


Heating costs for a home in Baltimore.




The data set is a zoo series with a "Date" class time index and 6 numeric numeric columns.

start date of start of billing period
therms integer number of therms used in this billing period
gas Total cost of gas (including delivery and commodity charges) for natural gas
KWHs integer number of KWH used in this billing period
elect Total cost of electricity (including delivery and commodity charges)
temp average daily outdoor temperature in degrees Fahrenheit, as printed on the bill
days number of days in billing period.


Heating system is a 10-15 year old natural gas steam boiler supplying iron radiators. Hot water heater, clothes dryer and stove and oven are also natural gas. Air conditioning is by various numbers of window units. If surface area of house is desired, I can add this at a later time.

Some interesting points in time:

22-Apr-04 Date when house was upgraded 2 failed, older storm windows to more modern ones.
1-Sep-04 Date when house was upgraded 4 failed, older storm windows to more modern ones. Interesting question: Did upgrading the windows significantly change the heat loss?
last week of July 1999 Spouse moved in; both adults absent during the work day, setback thermostat used. Interesting question: Is there a discernable difference in the energy costs for heating between a single person and a couple? What's the heating "cost" of adding a spouse or roommate?
18-Dec-2005 Brought home son; spouse and son home during the day, setback thermostat no longer used. Interesting question: What's the "cost" of adding a child?


xyplot(elect + gas ~ temp, 
	data =, pch = 20, auto.key = TRUE)

Search within the dyn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.