R code to create stops.csv