Bikeshare: Bike sharing data

BikeshareR Documentation

Bike sharing data

Description

This data set contains the hourly and daily count of rental bikes between years 2011 and 2012 in Capital bikeshare system, along with weather and seasonal information.

Usage

Bikeshare

Format

A data frame with 8645 observations on a number of variables.

season

Season of the year, coded as Winter=1, Spring=2, Summer=3, Fall=4.

mnth

Month of the year, coded as a factor.

day

Day of the year, from 1 to 365

hr

Hour of the day, coded as a factor from 0 to 23.

holiday

Is it a holiday? Yes=1, No=0.

weekday

Day of the week, coded from 0 to 6, where Sunday=0, Monday=1, Tuesday=2, etc.

workingday

Is it a work day? Yes=1, No=0.

weathersit

Weather, coded as a factor.

temp

Normalized temperature in Celsius. The values are derived via (t-t_min)/(t_max-t_min), t_min=-8, t_max=+39.

atemp

Normalized feeling temperature in Celsius. The values are derived via (t-t_min)/(t_max-t_min), t_min=-16, t_max=+50.

hum

Normalized humidity. The values are divided to 100 (max).

windspeed

Normalized wind speed. The values are divided by 67 (max).

casual

Number of casual bikers.

registered

Number of registered bikers.

bikers

Total number of bikers.

Source

The UCI Machine Learning Repository https://archive.ics.uci.edu/ml/datasets/bike+sharing+dataset

References

James, G., Witten, D., Hastie, T., and Tibshirani, R. (2021) An Introduction to Statistical Learning with applications in R, Second Edition, https://www.statlearning.com, Springer-Verlag, New York

Examples

lm(bikers~hr, data=Bikeshare)

ISLR2 documentation built on Nov. 20, 2022, 1:06 a.m.