Skip to contents

Client

The client is an R6 object with one method per route. Build it with close_client(); make calls through its methods.

close_client()
Create a Close API client
CloseClient
Close API client

Output modes and replies

Routes return tabular data by default: an sf object where geometry applies, a data frame otherwise. Convert a raw reply by hand, or read its fields.

close_as_sf()
Convert a Close reply to an sf object
close_as_df()
Convert a Close reply to a data.frame
close_reply
The reply object

Mapping

Draw a client result on an interactive CARTO Positron basemap in one call.

close_map()
Interactive map of Close spatial results