json_to_sf: Convert a json (read with jsonlite) to sf object

View source: R/spatial.R

json_to_sfR Documentation

Convert a json (read with jsonlite) to sf object

Description

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

Usage

json_to_sf(json_list)

Arguments

json_list

list as read by jsonlite::read_json() (in gtfsio)

Value

sf object


tidytransit documentation built on Aug. 21, 2025, 5:26 p.m.