README.md

output: github_document

ToyotaSiennaGasMileage

Travis build status

ToyotaSiennaGasMileage provides gas consumption data on a 2011 Toyota Sienna XLE from purchase through today. The data are available for those who are studying gas consumption, but also available for anybody interested in plotting or modeling a time series with irregular observations.

Data were originally recorded by hand. These sheets were scanned and digitized into csv files that match the scanned sheets. An R script is used to combine all the files into a single R data.frame included in the package as ToyotaSiennaGasMileage. Thus, these files provide an example data management process for manually recorded data.

Installation

You can install the released version of ToyotaSiennaGasMileage from CRAN with:

install.packages("ToyotaSiennaGasMileage")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("jarad/ToyotaSiennaGasMileage")

Example

Here is a graphical display of the data.

library(ToyotaSiennaGasMileage)
library(ggplot2)

ggplot(ToyotaSiennaGasMileage, 
       aes(x = date, y = miles/gallons)) +
  geom_point()
#> Warning: Removed 8 rows containing missing values (geom_point).

plot of chunk example



jarad/ToyotaSiennaGasMileage documentation built on Jan. 17, 2022, 5:48 a.m.