sf_to_json: Convert an sf object to a json list

View source: R/spatial.R

sf_to_jsonR Documentation

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)

Arguments

sf_obj

sf table

Value

json list


tidytransit documentation built on Oct. 18, 2024, 5:13 p.m.