Skip to content

Commit

Permalink
fix: adjust URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed Nov 27, 2024
1 parent 1d83841 commit 3cc3087
Show file tree
Hide file tree
Showing 32 changed files with 41 additions and 46 deletions.
2 changes: 1 addition & 1 deletion R/autosuggest.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' Completes addresses using the HERE 'Geocoder Autosuggest' API.
#'
#' @references
#' \href{https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-autosuggest-brief.html}{HERE Geocoder API: Autosuggest}
#' \href{https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html}{HERE Geocoder API: Autosuggest}
#'
#' @param address character, address text to propose suggestions.
#' @param results numeric, maximum number of suggestions (Valid range: 1 and 100).
Expand Down
2 changes: 1 addition & 1 deletion R/connection.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' }
#'
#' @references
#' \href{https://developer.here.com/documentation/public-transit/dev_guide/routing/index.html}{HERE Public Transit API: Transit Route}
#' \href{https://www.here.com/docs/bundle/public-transit-api-developer-guide/page/README.html}{HERE Public Transit API: Transit Route}
#'
#' @param origin \code{sf} object, the origin locations of geometry type \code{POINT}.
#' @param destination \code{sf} object, the destination locations of geometry type \code{POINT}.
Expand Down
2 changes: 1 addition & 1 deletion R/flow.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' corresponds to the status of the traffic at the time of the query.
#'
#' @references
#' \href{https://developer.here.com/documentation/traffic-api/api-reference.html}{HERE Traffic API: Flow}
#' \href{https://www.here.com/docs/bundle/traffic-api-v7-api-reference/page/index.html}{HERE Traffic API: Flow}
#'
#' @param aoi \code{sf} object, Areas of Interest (POIs) of geometry type \code{POLYGON}.
#' @param min_jam_factor numeric, only retrieve flow information with a jam factor greater than the value provided (\code{default = 0}).
Expand Down
2 changes: 1 addition & 1 deletion R/geocode.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' Geocodes addresses using the HERE 'Geocoding & Search API' API.
#'
#' @references
#' \href{https://developer.here.com/documentation/geocoding-search-api/dev_guide/index.html}{HERE Geocoding & Search API: Geocode}
#' \href{https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html}{HERE Geocoding & Search API: Geocode}
#'
#' @param address character, addresses to geocode or a list containing qualified queries with the keys "country", "state", "county", "city", "district", "street", "houseNumber" or "postalCode".
#' @param alternatives boolean, return also alternative results (\code{default = FALSE})?
Expand Down
2 changes: 1 addition & 1 deletion R/incident.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' severity, type, description and further details.
#'
#' @references
#' \href{https://developer.here.com/documentation/traffic-api/api-reference.html}{HERE Traffic API: Incidents}
#' \href{https://www.here.com/docs/bundle/traffic-api-v7-api-reference/page/index.html}{HERE Traffic API: Incidents}
#'
#' @param aoi \code{sf} object, Areas of Interest (POIs) of geometry type \code{POLYGON}.
#' @param from \code{POSIXct} object, start time of the earliest traffic incidents (\code{default = NULL}).
Expand Down
2 changes: 1 addition & 1 deletion R/intermodal_route.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' Calculates route geometries (\code{LINESTRING}) between given pairs of points using the HERE 'Intermodal Routing' API.
#'
#' @references
#' \href{https://developer.here.com/documentation/intermodal-routing/dev_guide/index.html}{HERE Intermodal Routing API: Routes}
#' \href{https://www.here.com/docs/bundle/intermodal-routing-api-developer-guide/page/README.html}{HERE Intermodal Routing API: Routes}
#'
#' @param origin \code{sf} object, the origin locations of geometry type \code{POINT}.
#' @param destination \code{sf} object, the destination locations of geometry type \code{POINT}.
Expand Down
2 changes: 1 addition & 1 deletion R/isoline.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' a specified length, a specified travel time or consumption (only the default E-car available).
#'
#' @references
#' \href{https://developer.here.com/documentation/isoline-routing-api/dev_guide/index.html}{HERE Isoline Routing API}
#' \href{https://www.here.com/docs/bundle/isoline-routing-api-developer-guide-v8/page/README.html}{HERE Isoline Routing API}
#'
#' @param poi \code{sf} object, Points of Interest (POIs) of geometry type \code{POINT}.
#' @param datetime \code{POSIXct} object, datetime for the departure (or arrival if \code{arrival = TRUE}).
Expand Down
2 changes: 1 addition & 1 deletion R/reverse_geocode.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' with suggestions for addresses near the provided POIs.
#'
#' @references
#' \href{https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-reverse-geocode-brief.html}{HERE Geocoder API: Reverse Geocode}
#' \href{https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html}{HERE Geocoder API: Reverse Geocode}
#'
#' @param poi \code{sf} object, Points of Interest (POIs) of geometry type \code{POINT}.
#' @param results numeric, maximum number of results (Valid range: 1 and 100).
Expand Down
2 changes: 1 addition & 1 deletion R/route.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' to obtain an estimate of the consumption.
#'
#' @references
#' \href{https://developer.here.com/documentation/routing-api/dev_guide/index.html}{HERE Routing API: Calculate Route}
#' \href{https://www.here.com/docs/bundle/routing-api-developer-guide-v8/page/README.html}{HERE Routing API: Calculate Route}
#'
#' @param origin \code{sf} object, the origin locations of geometry type \code{POINT}.
#' @param destination \code{sf} object, the destination locations of geometry type \code{POINT}.
Expand Down
2 changes: 1 addition & 1 deletion R/route_matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' The result is one route summary matrix, that fits the order of the provided POIs: \code{orig_id}, \code{dest_id}.
#'
#' @references
#' \href{https://developer.here.com/documentation/matrix-routing-api/dev_guide/index.html}{HERE Matrix Routing API}
#' \href{https://www.here.com/docs/bundle/matrix-routing-api-developer-guide/page/README.html}{HERE Matrix Routing API}
#'
#' @param origin \code{sf} object, the origin locations (M) of geometry type \code{POINT}.
#' @param destination \code{sf} object, the destination locations (N) of geometry type \code{POINT}.
Expand Down
2 changes: 1 addition & 1 deletion R/station.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' Retrieve stations with the corresponding line information around given locations using the HERE 'Public Transit' API.
#'
#' @references
#' \href{https://developer.here.com/documentation/public-transit/dev_guide/station-search/index.html}{HERE Public Transit API: Station Search}
#' \href{https://www.here.com/docs/bundle/public-transit-api-developer-guide/page/README.html}{HERE Public Transit API: Station Search}
#'
#' @param poi \code{sf} object, Points of Interest (POIs) of geometry type \code{POINT}.
#' @param radius numeric, the search radius in meters (\code{default = 500}).
Expand Down
2 changes: 1 addition & 1 deletion R/weather.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' The information comes from the nearest available weather station and is not interpolated.
#'
#' @references
#' \href{https://developer.here.com/documentation/destination-weather/api-reference-v3.html}{HERE Destination Weather API}
#' \href{https://www.here.com/docs/bundle/destination-weather-api-v3-api-reference/page/index.html}{HERE Destination Weather API}
#'
#' @param poi \code{sf} object or character, Points of Interest (POIs) of geometry type \code{POINT} or location names (e.g. cities or regions).
#' @param product character, weather product of the 'Destination Weather API'. Supported products: \code{"observation"}, \code{"forecastHourly"}, \code{"forecastAstronomy"} and \code{"alerts"}.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ weather(poi, product = "alerts")
## References

- [Developer Terms and Conditions](https://developer.here.com/terms-and-conditions)
- [Geocoding & Search API](https://developer.here.com/documentation/geocoding-search-api/dev_guide/index.html)
- [Routing API](https://developer.here.com/documentation/routing-api/dev_guide/index.html)
- [Matrix Routing API](https://developer.here.com/documentation/matrix-routing-api/dev_guide/index.html)
- [Isoline Routing API](https://developer.here.com/documentation/isoline-routing-api/dev_guide/index.html)
- [Traffic API](https://developer.here.com/documentation/traffic-api/api-reference.html)
- [Public Transit API](https://developer.here.com/documentation/public-transit/dev_guide/index.html)
- [Intermodal Routing API](https://developer.here.com/documentation/intermodal-routing/dev_guide/index.html)
- [Destination Weather API](https://developer.here.com/documentation/destination-weather/dev_guide/topics/guide.html)
- [Geocoding & Search API](https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html)
- [Routing API](https://www.here.com/docs/bundle/routing-api-developer-guide-v8/page/README.html)
- [Matrix Routing API](https://www.here.com/docs/bundle/matrix-routing-api-developer-guide/page/README.html)
- [Isoline Routing API](https://www.here.com/docs/bundle/isoline-routing-api-developer-guide-v8/page/README.html)
- [Traffic API](https://www.here.com/docs/bundle/traffic-api-v7-api-reference/page/index.html)
- [Public Transit API](https://www.here.com/docs/bundle/public-transit-api-developer-guide/page/README.html)
- [Intermodal Routing API](https://www.here.com/docs/bundle/intermodal-routing-api-developer-guide/page/README.html)
- [Destination Weather API](https://www.here.com/docs/bundle/destination-weather-api-v3-api-reference/page/index.html)
2 changes: 1 addition & 1 deletion man/autosuggest.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/connection.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/flow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/geocode.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/incident.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/intermodal_route.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/isoline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/reverse_geocode.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/route.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/route_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/station.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/weather.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions vignettes/authentication.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,4 @@ For overwriting the application credentials use again the `set_key()` function.

## Reference

- [Sign up as developer](https://developer.here.com/sign-up?create=Freemium-Basic&keepState=true&step=account)
- [Pricing and plans](https://developer.here.com/pricing)
- [Pricing and plans](https://www.here.com/get-started/pricing)
4 changes: 1 addition & 3 deletions vignettes/geocoder.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,4 @@ If no addresses or landmarks are found near a POI, `NULL` for this POI is return

## API Reference

- [Geocoding & Search: Autosuggest](https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-autosuggest-brief.html)
- [Geocoding & Search: Geocode](https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-geocode-brief.html)
- [Geocoding & Search: Reverse Geocode](https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-reverse-geocode-brief.html)
- [Geocoding & Search API](https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html)
2 changes: 1 addition & 1 deletion vignettes/intermodal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ if (requireNamespace("mapview", quietly = TRUE)) {

## API Reference

- [Intermodal Routing API](https://developer.here.com/documentation/intermodal-routing/dev_guide/index.html)
- [Intermodal Routing API](https://www.here.com/docs/bundle/intermodal-routing-api-developer-guide/page/README.html)
6 changes: 3 additions & 3 deletions vignettes/routing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ if (requireNamespace("mapview", quietly = TRUE)) {

## API Reference

- [Routing](https://developer.here.com/documentation/routing-api/dev_guide/index.html)
- [Matrix Routing](https://developer.here.com/documentation/matrix-routing-api/dev_guide/index.html)
- [Isoline Routing](https://developer.here.com/documentation/isoline-routing-api/dev_guide/index.html)
- [Routing API](https://www.here.com/docs/bundle/routing-api-developer-guide-v8/page/README.html)
- [Matrix Routing API](https://www.here.com/docs/bundle/matrix-routing-api-developer-guide/page/README.html)
- [Isoline Routing API](https://www.here.com/docs/bundle/isoline-routing-api-developer-guide-v8/page/README.html)
3 changes: 1 addition & 2 deletions vignettes/traffic.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,4 @@ if (requireNamespace("mapview", quietly = TRUE)) {

## API Reference

- [Flow](https://developer.here.com/documentation/traffic-api/api-reference.html)
- [Incidents](https://developer.here.com/documentation/traffic-api/api-reference.html)
- [Traffic API](https://www.here.com/docs/bundle/traffic-api-v7-api-reference/page/index.html)
3 changes: 1 addition & 2 deletions vignettes/transit.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,4 @@ if (requireNamespace("mapview", quietly = TRUE)) {

## API Reference

- [Public Transit Routing: Routing](https://developer.here.com/documentation/public-transit/dev_guide/routing/index.html)
- [Public Transit Routing: Station Search](https://developer.here.com/documentation/public-transit/dev_guide/station-search/index.html)
- [Public Transit Routing API](https://www.here.com/docs/bundle/public-transit-api-developer-guide/page/README.html)
2 changes: 1 addition & 1 deletion vignettes/weather.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ If no alerts are recorded near a POI the attribute `"alerts"` is `NULL`.

## API Reference

- [Destination Weather API](https://developer.here.com/documentation/destination-weather/dev_guide/topics/guide.html)
- [Destination Weather API](https://www.here.com/docs/bundle/destination-weather-api-developer-guide/page/topics/guide.html)

0 comments on commit 3cc3087

Please sign in to comment.