Skip to content
Public-source data

Bike Sharing Demand Dataset

Explore historical hourly and daily rental counts from Capital Bikeshare. Use the UCI Bike Sharing dataset to practice time-based analysis with calendar and weather information.

Good for: time-series grouping, visualization, and a first one-table analysis.

Download this dataset

Choose the version that fits your project. You do not need to download every file.

Preview the data

Explore a sample before downloading. Select a table to see its columns, row count, relationships, and what each row represents.

Hour

One row represents: One row per observed hour.

Rows in this table
17,379
Connects to
Day

This preview shows a sample, not the full download.

Sample rows from hour. This preview is not the full download.
instantdtedayseasonyrmnthhrholidayweekdayworkingdayweathersittempatemp
12011-01-01101006010.240.2879
22011-01-01101106010.220.2727
32011-01-01101206010.220.2727
42011-01-01101306010.240.2879
52011-01-01101406010.240.2879

Hour data dictionary

Check identifiers, dates, numeric fields, and missing values before writing a query or building a chart.

ColumnWhat it meansData typeMissing valuesKey or requirement
instantSource row number.integer0Required
dtedayCalendar date.date0Required
seasonSeason code 1-4.integer0Required
yr0 for 2011; 1 for 2012.integer0Required
mnthMonth 1-12.integer0Required
hrHour 0-23.integer0Required
holidayHoliday indicator.integer0Required
weekdayWeekday code.integer0Required
workingdayWorking-day indicator.integer0Required
weathersitWeather situation code.integer0Required
tempNormalized temperature.decimal0Required
atempNormalized apparent temperature.decimal0Required
humNormalized humidity.decimal0Required
windspeedNormalized wind speed.decimal0Required
casualCasual rentals.integer0Required
registeredRegistered rentals.integer0Required
cntTotal rentals.integer0Required
View the full data dictionary

hour

One row represents: One row per observed hour.

ColumnWhat it meansData typeMissing valuesKey or requirement
instantSource row number.integer0Required
dtedayCalendar date.date0Required
seasonSeason code 1-4.integer0Required
yr0 for 2011; 1 for 2012.integer0Required
mnthMonth 1-12.integer0Required
hrHour 0-23.integer0Required
holidayHoliday indicator.integer0Required
weekdayWeekday code.integer0Required
workingdayWorking-day indicator.integer0Required
weathersitWeather situation code.integer0Required
tempNormalized temperature.decimal0Required
atempNormalized apparent temperature.decimal0Required
humNormalized humidity.decimal0Required
windspeedNormalized wind speed.decimal0Required
casualCasual rentals.integer0Required
registeredRegistered rentals.integer0Required
cntTotal rentals.integer0Required

day

One row represents: One row per calendar date.

ColumnWhat it meansData typeMissing valuesKey or requirement
instantSource row number.integer0Required
dtedayCalendar date.date0Required
seasonSeason code 1-4.integer0Required
yr0 for 2011; 1 for 2012.integer0Required
mnthMonth 1-12.integer0Required
holidayHoliday indicator.integer0Required
weekdayWeekday code.integer0Required
workingdayWorking-day indicator.integer0Required
weathersitWeather situation code.integer0Required
tempNormalized temperature.decimal0Required
atempNormalized apparent temperature.decimal0Required
humNormalized humidity.decimal0Required
windspeedNormalized wind speed.decimal0Required
casualCasual rentals.integer0Required
registeredRegistered rentals.integer0Required
cntTotal rentals.integer0Required

About the data

These historical observations are useful for exploring patterns over time. Start with the daily file for a simpler analysis, or use hourly records for more detailed comparisons.

Consult the source definitions before interpreting encoded categories or normalized measurements. The hourly and daily files summarize the same underlying system at different levels of detail.

What one row represents
Varies by source table
Data covers
Start: 2011-01-01 · End: 2012-12-31
Dataset version
1.0.0
Release published
2026-09-05

How the tables connect

Generated from the same relationship metadata as the table documentation.

HourdtedayDaydteday

many-to-one

Start your first analysis

Open a download, inspect the table, and answer one question. Each example identifies the file and dataset version it uses.

Start with Excel

Use the prepared hourly workbook to build a simple demand profile.

Download Excel
File used
bike-sharing-v1.0.0-analysis.xlsx
Dataset version
1.0.0
File size
987.1 KB
  1. 01Open "bike-sharing-v1.0.0-analysis.xlsx" and select the "Bike Sharing Demand Dataset" sheet.
  2. 02Place hour in Rows and total_rentals in Values summarized as an average.
  3. 03Add is_working_day as a filter or Columns field and label the 2011–2012 coverage.

What you can build

Finished output from this release

How does average hourly demand vary by season and working-day status?

How does average hourly demand vary by season and working-day status?

seasonworkingdayaverage_hourly_rentalstotal_rentals
1095.1137683
11119.4333665
20214.4287976
21205.7630613
30230.3312056
31238.5749073
View the checked SQL
SELECT season,
       workingday,
       ROUND(AVG(cnt), 1) AS average_hourly_rentals,
       SUM(cnt) AS total_rentals
FROM hour
GROUP BY season, workingday
ORDER BY season, workingday;

Daily demand report

Plot daily rentals and compare the patterns visible across the coverage period.

Hourly profile

Compare average rentals by hour, stating which days are included in the calculation.

Weather comparison

Explore how recorded demand differs across documented weather categories without describing the comparison as proof of causation.

Time-based validation exercise

Use earlier observations for fitting and later observations for assessment.

Questions about this dataset

Is this current bike-sharing data?

No. It covers Capital Bikeshare activity in 2011–2012 and should not be presented as current ridership.

Should I combine the hourly and daily files?

Use either level for a given total. The files describe the same activity at different levels of detail, so adding their rental counts would double-count.

Source, license, and versions

Before you interpret the results

  • The source omits 165 zero-activity hours.
  • Weather values are normalized.
  • Counts cover Washington, D.C. in 2011-2012 and should not be generalized without validation.

Source, license, and version

Use the version number when sharing your work so others can reproduce it with the same files. Coverage dates describe the records; the release date describes when this package was published.

Maintainer
UCI Machine Learning Repository; prepared formats by Analytics Engineering
License
CC BY 4.0
Version
1.0.0
Published
2026-09-05T16:52:57.785Z
View the original source →

Cite this dataset

Fanaee-T, H. (2013). Bike Sharing [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5W894

Found an issue?

Tell us which dataset, version, and file you used, and what you expected to happen. A small example helps us investigate.

Report a dataset issue →

Keep learning

Compare hourly and seasonal demand while preserving UCI's original historical scope and variable definitions.

This exercise uses a smaller teaching example, not the full downloadable dataset.