You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the function interface for the sake of usability rather than strictly reflect the API. For example, abandon request argument in favor of binary summary argument, and return the category list if none arguments were provided, i.e.:
ors_pois("pois", ...) -> ors_pois(..., summary = FALSE) (the default)
Additionally, ease-up things by expanding the nested geometry object into separate function arguments.
Think of a more convenient representation of the category list, or a helper function to facilitate specifying filters = list(category_ids = category)) by keywords rather than ids like in the following example.
Modify the function interface for the sake of usability rather than strictly reflect the API. For example, abandon
request
argument in favor of binarysummary
argument, and return the category list if none arguments were provided, i.e.:ors_pois("pois", ...)
->ors_pois(..., summary = FALSE)
(the default)ors_pois("stats", ...)
->ors_pois(..., summary = TRUE)
ors_pois("list")
->ors_pois()
Additionally, ease-up things by expanding the nested
geometry
object into separate function arguments.Think of a more convenient representation of the category list, or a helper function to facilitate specifying
filters = list(category_ids = category))
by keywords rather than ids like in the following example.The text was updated successfully, but these errors were encountered: