Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/post/2019-03-01-mapping-sncf-stations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tgv$arrival_station %>% unique()

There is a mix of French and European stations. I would like to plot them on a map of Europe, so I need to fetch their GPS coordinates.

I found a [data file]("https://public.opendatasoft.com/explore/dataset/european-train-stations/information/") from [Trainline]("https://www.trainline.fr/"), a train travel agent, with the location of all the stations that are in their database. As they sell French train tickets, the stations in the SNCF dataset should be referenced in their database. I *just* have to join them.
I found a [data file](https://github.com/trainline-eu/stations/) from [Trainline](https://www.trainline.fr/), a train travel agent, with the location of all the stations that are in their database. As they sell French train tickets, the stations in the SNCF dataset should be referenced in their database. I *just* have to join them.

Some text cleaning first: I use the `str_to_title()` function from `stringr` to change all caps to title caps.

Expand Down