geocoder_as_sf {mapboxapi}R 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.


[Package mapboxapi version 0.6 Index]