geocoder_as_sf: Convert the result of a 'mapboxGeocoderInput()' geocoded...

View source: R/search.R

geocoder_as_sfR Documentation

Convert the result of a mapboxGeocoderInput() geocoded location to an sf object

Description

Convert the result of a mapboxGeocoderInput() geocoded location to an sf object

Usage

geocoder_as_sf(input)

Arguments

input

The name of the Shiny input using mapboxGeocoderInput(), likely something like input$geocode

Value

An sf object that can be used downstream in your Shiny applications.


mapboxapi documentation built on Sept. 21, 2024, 1:06 a.m.