From 5d182e25a4d0e20775bc4371e2169d50f6d33d6e Mon Sep 17 00:00:00 2001 From: Jonas Lieth Date: Mon, 24 Jun 2024 19:32:49 +0200 Subject: [PATCH] exchange some faulty endpoints --- R/discovery.R | 2 +- R/requests.R | 2 +- inst/endpoints.json | 2 +- man/o311_discovery.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/discovery.R b/R/discovery.R index fde6217..e3c553f 100644 --- a/R/discovery.R +++ b/R/discovery.R @@ -7,7 +7,7 @@ #' @export #' #' @examples -#' o311_api("zürich") +#' o311_api("zurich") #' #' can_connect <- o311_ok() #' if (can_connect){ diff --git a/R/requests.R b/R/requests.R index b51eb9d..4148f9a 100644 --- a/R/requests.R +++ b/R/requests.R @@ -69,7 +69,7 @@ #' (\code{o311_endpoints()$docs}). #' #' @examples -#' o311_api("chicago") +#' o311_api("zurich") #' #' can_connect <- o311_ok() #' if (can_connect) { diff --git a/inst/endpoints.json b/inst/endpoints.json index 4309c42..a144ffc 100644 --- a/inst/endpoints.json +++ b/inst/endpoints.json @@ -189,7 +189,7 @@ "json": true }, { - "name": "Zürich, CH", + "name": "zurich, CH", "root": "https://www.zueriwieneu.ch/open311/v2/", "docs": "https://www.zueriwieneu.ch/open311/", "jurisdiction": "stadt-zuerich.ch", diff --git a/man/o311_discovery.Rd b/man/o311_discovery.Rd index 04035f1..9464df4 100644 --- a/man/o311_discovery.Rd +++ b/man/o311_discovery.Rd @@ -13,7 +13,7 @@ A list containing details on the given open311 API. Retrieve discovery information about the mounted endpoint. } \examples{ -o311_api("zürich") +o311_api("zurich") can_connect <- o311_ok() if (can_connect){