Skip to contents

read .json or .geojson shapefile data

Usage

shapefile_from_json(path, cleanit = TRUE, crs = 4269, layer = NULL, ...)

Arguments

path

path and filename

cleanit

optional, whether to use shapefile_clean()

crs

passed to shapefile_from_filepaths() etc. and default is crs = 4269 or Geodetic CRS NAD83

layer

optional layer name passed to sf::st_read()

...

passed to sf::st_read()

Value

like output of sf::st_read()