1 min read

There are actually very few public, realtime gtfs feeds

Using the script from an earlier post, An overview of public transit feeds around the world, I organized and cleaned up the public realtime feeds available at transitfeeds.com. The number I came up with in the earlier post for number of agency feeds is actually smaller! Many agencies have seperated their alert, positions, and trip update feeds. Wow, so it actually much smaller,

library(RCurl)
# grab a csv online throgh https
github_csv <- getURL("https://raw.githubusercontent.com/hansthompson/transit-tracker/master/gtfs_realtime.csv")
realtime_feeds <- read.csv(text = github_csv)
unique(as.character(realtime_feeds$town))
##  [1] "The Netherlands"         "Halifax, NS, Canada"    
##  [3] "Mississauga, ON, Canada" "Luxembourg"             
##  [5] "Daytona Beach, FL, USA"  "Madison, WI, USA"       
##  [7] "Anchorage, AK, USA"      "Maryland, USA"          
##  [9] "Austin, TX, USA"         "Columbus, OH, USA"      
## [11] "Waterloo, ON, Canada"    "Orange County, CA, USA" 
## [13] "Edmonton, AB, Canada"    "Cincinnati, OH, USA"    
## [15] "Santa Monica, CA, USA"   "Connecticut, USA"       
## [17] "Thunder Bay, ON, Canada" "Louisville, KY, USA"    
## [19] "Nassau, NY, USA"         "Cairns QLD, Australia"  
## [21] "San Francisco, CA, USA"  "Tampa, FL, USA"         
## [23] "Virginia, USA"           "Boston, MA, USA"

So there are only 24 towns that are publish an open feed! This is definitely something that needs to change!