Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 

README.md

trimetStops

CRAN status R build status

Data package for the Tri-County Metropolitan Transportation District of Oregon (TriMet), the agency that manages the public transit system of Portland, OR. This package has one dataset, trimetStops, which contains data on the stops where vehicles pick up or drop off riders. These data include longitude, latitude, cross street, and direction of the stop.

These data were collected by TriMet. More information on the data can be found here.

Installation

We are now on CRAN! You can install the stable version of trimetStops from CRAN with:

install.packages("trimetStops")

Or, for the developmental version:

devtools::install_github("graysonwhite/trimetStops")

Example

If you wanted to plot all of the TriMet stations in the Portland Metro Area, you could use this data:

library(tidyverse)
library(trimetStops)
trimetStops %>%
  filter(location_type == "station") %>%
  ggplot(aes(x = long, y = lat)) +
  geom_point() 

Blog

A blog post written about this package can be found at this site.

About

An R data package containing every bus & MAX stop in the Portland Metro Area

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.