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.


walkerke/mapboxapi documentation built on May 16, 2024, 12:11 a.m.