From 6446ad9850e2ab3d9a28a58c42b270edfbefe49c Mon Sep 17 00:00:00 2001 From: Mikhail Doronin Date: Tue, 31 Oct 2023 10:39:20 +0100 Subject: [PATCH] Update 2019-03-01-mapping-sncf-stations.Rmd Fix link to stations.csv --- content/post/2019-03-01-mapping-sncf-stations.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/2019-03-01-mapping-sncf-stations.Rmd b/content/post/2019-03-01-mapping-sncf-stations.Rmd index 525960d..a11b6ed 100644 --- a/content/post/2019-03-01-mapping-sncf-stations.Rmd +++ b/content/post/2019-03-01-mapping-sncf-stations.Rmd @@ -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.