Package | Description |
---|---|
net.degreedays.api.data |
For specifying and receiving degree-day data and temperature data from the API.
|
net.degreedays.api.regression |
For using the API to run regressions against your energy-usage data.
|
Modifier and Type | Class and Description |
---|---|
class |
DatedDataValue
Contains a degree-day value for a specific dated period (a single day or a
range of days like a specific week, month, or year).
|
class |
TimeSeriesDataValue
Contains a value (e.g. a temperature value) for a specific point in
time, and an approximate indication of its accuracy.
|
Modifier and Type | Method and Description |
---|---|
DataValue |
AverageDataSet.annualAverage()
Returns the non-null average annual value.
|
DataValue |
AverageDataSet.monthlyAverage(int monthIndexWithJanAs1)
Returns the non-null average value for the specified month
(e.g. pass 1 for the average value for the month of January).
|
static DataValue |
DataValue.of(double value,
double percentageEstimated)
Returns a non-null
DataValue object with the specified
configuration. |
Modifier and Type | Method and Description |
---|---|
AverageDataSet.Builder |
AverageDataSet.Builder.setAnnualAverage(DataValue annualAverage) |
AverageDataSet.Builder |
AverageDataSet.Builder.setMonthlyAverage(int monthIndexWithJanAs1,
DataValue monthlyAverage)
Sets the average value for the specified month (January having index
1).
|
Modifier and Type | Method and Description |
---|---|
DataValue |
DegreeDaysRegressionComponent.sampleDegreeDaysTotal()
Returns the non-null
DataValue representing the total number
of degree days across all the periods this regression component was
calculated for. |
Modifier and Type | Method and Description |
---|---|
DegreeDaysRegressionComponent.Builder |
DegreeDaysRegressionComponent.Builder.setSampleDegreeDaysTotal(DataValue sampleDegreeDaysTotal) |
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.