The main function to find geocodes, using standard MongoDB queries, with focus on particularly on returing "geometry" documents' coordinates as useful objects (thinking about sfcs for instance).
gc_find(x, collection = "geocoder", full_url, as_sf = TRUE)
| x | keys and values to return geometries with |
|---|---|
| collection | set collection from parameter default |
| full_url | ability to use gc_find on any mongodb |
| as_sf | return the results as an sf object. |
sf object from MongoDB or mongolite::iterate