Ecars#

This dataset contains information from 3,395 high resolution electric vehicle charging sessions The data contains sessions from 85 EV drivers with repeat usage at 105 stations across 25 sites at a workplace charging program. The workplace locations include facilities such as research and innovation centers, manufacturing, testing facilities and office headquarters for a firm participating in the U.S. Department of Energy (DOE) workplace charging challenge.

undefined

Initialization#

library(fosdata)
data <- fosdata::ecars

Accessing fields#

data <- fosdata::ecars
reportedZip <- data$reportedZip # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::ecars dataset containing the following fields:

fields[17]{name,type,values}:
  sessionId,integer,n/a
  kwhTotal,numeric,n/a
  dollars,numeric,n/a
  created,character,n/a
  ended,character,n/a
  startTime,integer,n/a
  endTime,integer,n/a
  chargeTimeHrs,numeric,n/a
  weekday,character,n/a
  platform,character,[android,ios,web]
  distance,numeric,n/a
  userId,integer,n/a
  stationId,integer,n/a
  locationId,integer,n/a
  managerVehicle,integer,n/a
  facilityType,factor,[R & D,Other,Office,Manufacturing]
  reportedZip,integer,n/a

Fields#

Name Description Type Min Max Values
sessionId a random number used to identify a specific electric vehcile (EV) charging session integer 1004821 9998981 -
kwhTotal the total energy use of a given EV charging session, measured in kWh numeric - 23.68 -
dollars the amount paid by the user for a given charging session, measured in U.S. dollars numeric - 7.5 -
created the date and time a given session was initiated, expressed in the form “YYYY-MM-DD HOUR:MIN:SEC” character - - -
ended the date and time a given session was terminated character - - -
startTime the hour of day, from 1 to 24, during which the session was initiated integer - 23 -
endTime the hour of day, from 1 to 24, during which the session was terminated integer - 23 -
chargeTimeHrs undefined numeric 0.0125 55.2381 -
weekday three letter abbreviation of the day of the week on which the charging session took place character - - -
platform the digital platform used by the EV driver to log the session. one of android, ios, or web. character - - android, ios, web
distance the distance from a user’s home to the charging location, expressed in miles except where user did not report address numeric 0.8569 43.0593 -
userId a random number used to uniquely identify a given user and his or her transactions integer 10427670 98345808 -
stationId a random number unique to each specific charging station integer 129465 995505 -
locationId a random number unique to a specific location owned by the firm, where chargers were installed integer 125372 978130 -
managerVehicle a binary variable; 1 if the vehicle logging the transcation is of the type largely used by firm managers, 0 otherwise integer - 1 -
facilityType a categorical variable indicating the type of facility a station is installed at; manufacturing = 1, office = 2, research and development = 3, other = 4 factor - - R & D, Other, Office, Manufacturing
reportedZip binary variable for if a user reported his or her zip code; 1 if zip code was reported, 0 otherwise’ integer - 1 -

Source#

Asensio, Omar Isaac; Apablaza, Camila Z; Lawson, M. Cade; Walsh, Sarah Elizabeth, 2020, “Replication Data for: A Field Experiment on Workplace Norms and Electric Vehicle Charging Etiquette” https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/NFPQLW