-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1432b18
commit cb98c84
Showing
22 changed files
with
112 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,9 +106,6 @@ references: | |
email: [email protected] | ||
orcid: https://orcid.org/0000-0002-4035-0289 | ||
year: '2024' | ||
identifiers: | ||
- type: url | ||
value: https://arxiv.org/abs/1403.2805 | ||
version: '>= 1.7.0' | ||
- type: software | ||
title: lifecycle | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#' Geocode amenities | ||
#' | ||
#' @description | ||
#' `r lifecycle::badge("defunct")` | ||
#' | ||
#' This operation is not supported any more. Use | ||
#' [arcgeocoder::arc_geo_categories()] instead. | ||
#' | ||
#' | ||
#' @param bbox,... Deprecated | ||
#' | ||
#' @return An error. | ||
#' | ||
#' @keywords internal | ||
#' @name geo_amenity | ||
#' @rdname geo_amenity | ||
#' | ||
#' @export | ||
#' @examples | ||
#' \donttest{ | ||
#' #' # Madrid, Spain | ||
#' | ||
#' library(arcgeocoder) | ||
#' library(ggplot2) | ||
#' | ||
#' bbox <- c(-3.888954, 40.311977, -3.517916, 40.643729) | ||
#' | ||
#' # Food | ||
#' rest_pub <- arc_geo_categories( | ||
#' bbox = bbox, category = "Bakery,Bar or Pub", | ||
#' full_results = TRUE, | ||
#' limit = 50 | ||
#' ) | ||
#' | ||
#' rest_pub | ||
#' } | ||
geo_amenity <- function(bbox = NULL, ...) { | ||
if (requireNamespace("lifecycle", quietly = TRUE)) { | ||
lifecycle::deprecate_stop("0.3.0", "geo_amenity()", | ||
with = "arcgeocoder::arc_geo_categories()", | ||
details = paste( | ||
"Operation not supported any", | ||
"more by the Nominatim API." | ||
) | ||
) | ||
} | ||
} | ||
|
||
#' | ||
#' @name geo_amenity_sf | ||
#' @rdname geo_amenity | ||
#' | ||
#' @keywords internal | ||
#' @export | ||
geo_amenity_sf <- function(bbox = NULL, ...) { | ||
if (requireNamespace("lifecycle", quietly = TRUE)) { | ||
lifecycle::deprecate_stop("0.3.0", "geo_amenity_sf()", | ||
with = "arcgeocoder::arc_geo_categories()", | ||
details = paste( | ||
"Operation not supported any", | ||
"more by the Nominatim API." | ||
) | ||
) | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ geocode | |
geocoded | ||
geocoder | ||
geocoding | ||
geolocated | ||
ie | ||
json | ||
lon | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.