Check patterns in the provider's databases
This function is used to explore the provider's databases and look for
patterns. This function can be useful in combination with oe_match()
and
oe_get()
for an easy match. See Examples.
oe_match_pattern( pattern, provider = "geofabrik", match_by = "name", full_row = FALSE )
pattern |
Character string representing the pattern that should be explored. |
provider |
Which provider should be used? Check a summary of all
available providers with |
match_by |
Column name of the provider's database that will be used to find the match. |
full_row |
Boolean. Return all columns for the matching rows? |
A character vector or a subset of the provider's database.
## Not run: oe_match("Yorkshire", quiet = FALSE) ## End(Not run) oe_match_pattern("Yorkshire") res = oe_match_pattern("Yorkshire", full_row = TRUE) sf::st_drop_geometry(res)[1:3]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.