If sf = TRUE
, an sf
object, containing the position coordinates
geocoded addresses as geometry list column and the access coordinates as
well-known text (WKT).
If sf = FALSE
, a data.frame
containing the coordinates of the
geocoded addresses as lng
, lat
columns.
According to the Geocoding and Search API Reference, the access coordinates
are "[c]oordinates of the place you are navigating to (for example, driving
or walking). This is a point on a road or in a parking lot." The position
coordinates are "[t]he coordinates (latitude, longitude) of a pin on a map
corresponding to the searched place."