My co-author Robin Lovelace has recently made available a new version of his R package stplanr, which helps processing and visualizing Origin-Destination transport data in R. It integrates the useful dist_google function to get network distances and time using the Google Maps API, which we used in our accessibility to schools in São Paulo paper. Highly recommended!