Learn R Programming

VGAMdata (version 1.0-0)

tube10: London Underground (Tube) Passenger Counts for November 2010

Description

The data set contains counts of the number of passengers entering London Underground stations (also known as the Tube) on a typical day of November 2010 in quarter-hour time blocks.

Usage

data("tube10")

Arguments

source

The data comes from the UK Government Transport for London website http://www.tfl.gov.uk/info-for/open-data-users/our-feeds?intcmp=3671. Downloaded in December 2013 and formatted into R by J. T. Gray (and slightly edited by T. W. Yee).

Details

Each cell contains the number of passengers entering a station during a quarter-hour period of time on a typical day during November 2010. The column names of the data frame are the station names and the most of the rows are the start time of each quarter-hour time block given in 24 hour time, e.g., 2215 means 10:15pm to 10:29pm. The last four rows are "Total", "A.M.Peak", "Interpeak", "P.M.Peak".

The data is adjusted to remove the effect of abnormal circumstances that many affect passeger numbers such as industrial action.

Examples

Run this code
data(tube10)
waterloo <- tube10[1:(4*24), "Waterloo"]  # Omit the totals and the peaks
barplot(unlist(waterloo))
barplot(log10(1 + unlist(waterloo)), col = "lightblue",
        ylab = "log10(1+.)", las = 1)

Run the code above in your browser using DataLab