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


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