Skip to content

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

Notifications You must be signed in to change notification settings

graysonwhite/trimetStops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages