From 19708528b22f3699834cdf7ea0fae5484b9dc547 Mon Sep 17 00:00:00 2001 From: dhersz Date: Fri, 3 Nov 2023 19:53:20 +0000 Subject: [PATCH] Built site for gtfstools: 1.2.0.9000@e13c1fc --- dev/apple-touch-icon-120x120.png | Bin 11245 -> 11245 bytes dev/apple-touch-icon-152x152.png | Bin 15279 -> 15279 bytes dev/apple-touch-icon-180x180.png | Bin 18828 -> 18828 bytes dev/apple-touch-icon-60x60.png | Bin 4364 -> 4364 bytes dev/apple-touch-icon-76x76.png | Bin 6055 -> 6055 bytes dev/apple-touch-icon.png | Bin 18828 -> 18828 bytes dev/articles/validating.html | 2 +- dev/favicon-16x16.png | Bin 996 -> 996 bytes dev/favicon-32x32.png | Bin 2005 -> 2005 bytes dev/pkgdown.yml | 2 +- dev/reference/write_gtfs.html | 2 +- 11 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/apple-touch-icon-120x120.png b/dev/apple-touch-icon-120x120.png index bbdc8cba20bda85d7170898913fce608f30de276..24429941bf10cad4f5ce882fa95a5ecbda2a90af 100644 GIT binary patch delta 69 zcmaDG{x*C<6$i7hiP+~nmscB`wrhzPhZtH~nHpIc8EG3BSQ!|IXuH0i?5iz{A(2}4 KH+*uPc0K?uZ581F delta 69 zcmaDG{x*C<6$hgzmyv=FfBnX$?OGy+Ax4H)h6Yxq2HFM&Rt5%h=Id^p?5iz{A@TOm KRNl#T+W7$A3lz=( diff --git a/dev/apple-touch-icon-152x152.png b/dev/apple-touch-icon-152x152.png index 528dff39a60da3ebfa22701d99eff0aa04ccfcf7..a2fad8a702fe8ed563e8cfc53752a9db0dba7e26 100644 GIT binary patch delta 69 zcmZ2qzP@}y6$i7hiG;|t%(okxDy>9}LkumgOpUCJOtcLQtPBjwe-~Vw%x^7=A;Grn KMDAn<>wEws+7-wE delta 69 zcmZ2qzP@}y6$hgzmvOkZ{mYF_l~y8#Ax4H)h6YxqhS~-ORzUPZjde1=wJe5&_ttqk JCp%c@0|3)n6cqpf diff --git a/dev/apple-touch-icon-180x180.png b/dev/apple-touch-icon-180x180.png index 76fb543415611c2943e2ee45b5b0f53b82a46e5f..f0550ecc9a0787378358e8fa85dcaa13158e13f3 100644 GIT binary patch delta 71 zcmeB~%-A!TaY7Xbv#^O|^2NyNjZI-5BE}(xmR6=lRz{}U1_o9J1{Zs(QzyUikj0Q# MaPjcX$+DjL04Q4){Qv*} delta 71 zcmeB~%-A!TaY7XbqbQf@K95;@~ diff --git a/dev/apple-touch-icon-60x60.png b/dev/apple-touch-icon-60x60.png index 6713578354812ac583f6f61979b55cad57ee011e..e16ac85b0b7149bb7dcaeb3d59bf4d9062fec787 100644 GIT binary patch delta 69 zcmeBC>QS0d#lb9WBHYZfA$4QZHGUD}5JO8VQzI)wOKk%KD+7ZWi^V=o&JmEska+oT Ko!{iS0{H;URTWQS0d#la}brSGhjyli9BHGUDp5FV!Z delta 71 zcmeB~%-A!TaY7XbqbQe|y5s4zjZI-5B8DMGhE|3KR;DJ}1_o9J1{oJP7fpWSA&Vg) M*}GA0vaDx50P?34bpQYW diff --git a/dev/articles/validating.html b/dev/articles/validating.html index 3b9dad2..06adb6f 100644 --- a/dev/articles/validating.html +++ b/dev/articles/validating.html @@ -110,7 +110,7 @@

Validating GTFS feeds

latest_validator <- download_validator(tempdir()) latest_validator -#> [1] "/tmp/RtmpGcrk1l/gtfs-validator-v4.1.0.jar" +#> [1] "/tmp/Rtmps0xzG4/gtfs-validator-v4.1.0.jar"

The second (and final) step is actually running validate_gtfs(). To do that we need some GTFS data, which the function accepts in varying formats: it can be a GTFS object, as created with read_gtfs(), a path to local GTFS file, an URL to a feed or a path to a local directory containing the GTFS data. It also takes a path to the directory where the validator output should be saved to and the path to the validator, previously generated with download_validator(). Let’s see how it works, using the same GTFS data in three different formats:

 data_path <- system.file("extdata/spo_gtfs.zip", package = "gtfstools")
diff --git a/dev/favicon-16x16.png b/dev/favicon-16x16.png
index 024c19146c34f82e7f186a42100c8eeb5c1268c8..2c254e5a1e3e1d2d0ab5f935bb38fb07658ee8f3 100644
GIT binary patch
delta 94
zcmaFD{)BylHWLT4u!*Ag<%drv8#DcNH4ZVfv@$iaGB(yWFt9Q(sQc!3kb!|gwZt`|
kBqgyV)hahXB{Qv(!N|bKSl7@{*8p7u|LSkGlS`TN0fBlPssI20

delta 94
zcmaFD{)BylHWLSzm7AZEnO4bQWME{hYiOuzfUe;b&xy~I)7bL?VD21O

delta 93
zcmcc0f0chi6$hgzHzm7AZEnO4bQWME{hYiOuzfUeExamples
 tmp_file <- tempfile(pattern = "gtfs", tmpdir = tmp_dir, fileext = ".zip")
 write_gtfs(gtfs, tmp_file)
 list.files(tmp_dir)
-#> [1] "gtfs37d0744fe5be.zip"
+#> [1] "gtfs37977f4ac84f.zip"
 
 gtfs_all_files <- read_gtfs(tmp_file)
 names(gtfs_all_files)