sf_to_json {tidytransit}R 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


[Package tidytransit version 1.7.0 Index]