Learn R Programming

mapboxapi (version 0.6.2)

geocoder_as_sf: 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)

Value

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

Arguments

input

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