clean_and_prepare: Tidy up the power usage data by formatting the date correctly...

View source: R/load.R

clean_and_prepareR Documentation

Tidy up the power usage data by formatting the date correctly and saving month, weekday and year variables separately.

Description

Tidy up the power usage data by formatting the date correctly and saving month, weekday and year variables separately.

Usage

clean_and_prepare(data)

Arguments

data

A power usage data set.

Value

A cleaned data frame with a few extra columns to make visualization easier.


emmaSkarstein/power.usage.analysis documentation built on Oct. 5, 2022, 7:56 a.m.