gj_write | R Documentation |
Write inputs to a geojson file
gj_write(x, file, ...)
x |
input character, json, or geojson |
file |
file path to write to |
... |
Further args |
gj_write(x = '{"type": "Point", "coordinates": [-100, 80]}', (file <- tempfile())) jsonlite::fromJSON(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.