A field experiment on electric vehicle charging
data(ElecCars)A data frame with 3395 observations on these 24 variables.
sessionIdcharging session
kwhTotaltotal energy use of a given EV charging session, measured in kWh
dollarsamount paid by the user in US$ for a given charging session
createddate and time the session began
endeddate and time the session ended
startTimehour of day began
endTimehour of day ended
chargeTimeHrstotal length of session
weekdayday of the week of session
platformdigital platform used by driver
distancedistance from home, if reported
userIduser code
stationIdstation code
locationIdlocation code
managerVehiclebinary, 1 if manager car
facilityTypetype of facility, manufacturing = 1, office = 2, research and development = 3, other = 4
Monbinary for day of week of session
Tuesbinary for day of week of session
Wedbinary for day of week of session
Thursbinary for day of week of session
Fribinary for day of week of session
Satbinary for day of week of session
Sunbinary for day of week of session
reportedZipbinary, 1 if user reported zip code
This dataset is used in Chapter 13, "Charging electric cars".
data(ElecCars, package="GmooG")
with(ElecCars, table(weekday))
Run the code above in your browser using DataLab