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


r-transit/tidytransit documentation built on Oct. 19, 2024, 3:17 a.m.