powered by
Write inputs to a geojson file
gj_write(x, file, ...)
input character, json, or geojson
file path to write to
Further args
# NOT RUN { gj_write(x = '{"type": "Point", "coordinates": [-100, 80]}', (file <- tempfile())) jsonlite::fromJSON(file) # }
Run the code above in your browser using DataLab