transit_ridership | R Documentation |
A test dataset containing 1980-2019 transit ridership for the three service boards that provide transit in Northeastern Illinois.
transit_ridership
A tibble. 200 rows and 3 variables
Double. Year of data
Char. Name of system (includes CTA bus, CTA rail, Metra, Pace, and Pace ADA)
Double. Annual unlinked passenger trips in millions
Regional Transportation Authority http://www.rtams.org/rtams/systemRidership.jsp
# A line graph
ggplot(transit_ridership,aes(x = year,y=ridership,group=system,color=system)) +
geom_line(na.rm=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.