Learn R Programming

tidytransit (version 1.7.0)

sf_to_json: Convert an sf object to a json list

Description

The sf object is written to a temporary file and re-read with jsonlite::read_json().

Usage

sf_to_json(sf_obj, layer_name)

Value

json list

Arguments

sf_obj

sf table