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().

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 Oct. 18, 2024, 5:13 p.m.